Allow lambda expressions without explicit paren
This commit is contained in:
		@ -40,7 +40,7 @@ toSource_ = y (\self arg :
 | 
			
		||||
    arg)              -- The term to be inspected
 | 
			
		||||
 | 
			
		||||
-- toSource takes a single TC term and returns a String
 | 
			
		||||
toSource = (\v : toSource_ v "")
 | 
			
		||||
toSource = \v : toSource_ v ""
 | 
			
		||||
 | 
			
		||||
exampleOne = toSource true -- OUT: "(t t)"
 | 
			
		||||
exampleTwo = toSource not? -- OUT: "(t (t (t t) (t t t)) (t t (t t t)))"
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user