tarcieri / reia

Ruby-like hybrid OOP/functional programming language for BEAM, the Erlang VM
http://reia-lang.org
MIT License
775 stars 36 forks source link

syntax error on f(x)(y) #19

Open ghost opened 13 years ago

ghost commented 13 years ago

Hi! I've got this in ire:

a = fun(y) { fun(x) {x+y} } => #<Fun -toplevel/2-fun-1-:reia_eval#1293_914573_934508> a(1)(2) Error: Line 1: syntax error before: '('

tarcieri commented 13 years ago

I'll need to correct the function call syntax to allow you to call the result of a function call. Hooray for HOFs...