[e-lang] using keywords in lambda-args

Kevin Reid kpreid at mac.com
Sat Apr 25 12:13:23 EDT 2009


I thought lambda-args was supposed to permit any E keyword to be used  
in its keyword  position.

? pragma.enable("lambda-args")
? repeat() do { a } while { b }
# syntax error:
#   repeat() do { a } while { b }
#                         ^
#   @ <-.e#:span::3:22::3:22>

? repeat() do { a } whilst { b }
# problem: Failed: Undefined variable: repeat

-- 
Kevin Reid                            <http://homepage.mac.com/kpreid/>




More information about the e-lang mailing list