Make function calls tail-recursive
This commit is contained in:
		
							parent
							
								
									273322c773
								
							
						
					
					
						commit
						c897bac549
					
				
					 4 changed files with 65 additions and 40 deletions
				
			
		| 
						 | 
				
			
			@ -330,7 +330,7 @@ void ExprLambda::setName(Symbol & name)
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
string ExprLambda::showNamePos()
 | 
			
		||||
string ExprLambda::showNamePos() const
 | 
			
		||||
{
 | 
			
		||||
    return (format("%1% at %2%") % (name.set() ? "`" + (string) name + "'" : "an anonymous function") % pos).str();
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue