Skip to content

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

Open
rafals opened this Issue Jan 1, 2011 · 1 comment

2 participants

@rafals
rafals commented Jan 1, 2011

Hi! I've got this in ire:
>> a = fun(y) { fun(x) {x+y} }
=> #
>> a(1)(2)
Error: Line 1: syntax error before: '('

@tarcieri
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.