-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error thrown from parsing a partial application of a method application chain #746
Comments
@vendethiel Any ideas? Still failing. |
So, the crash is easily fixed—all it takes is changing one If that's indeed what you're proposing, you should probably flesh out the feature request a little more. One potential niggle is what gets captured at the time of partial function creation; right now, everything does: a = b: (x, y) -> x + 2*y
c = 10
f = a.b _, c
a.b = (x, y) -> 2*x + y
c = 1000
f 1 #=> 21 Contrast with the similar but non-capturing version: a = b: (x, y) -> x + 2*y
c = 10
f = -> a.b it, c
a.b = (x, y) -> 2*x + y
c = 1000
f 1 #=> 1002 In an expression like |
First, I thought I'd clarify with my current stance. In my opinion, it The reason I didn't was because I was uncertain at the time, and hadn't yet I'll have to convert the tests, but I'm not sure exactly what the message On Fri, Feb 19, 2016, 00:43 Ryan Hendrickson [email protected]
|
So, first: https://github.com/taku0/placeholder_syntax_for_coffeescript/blob/master/src/placeholder.coffee
That's basically the difference in LS between partial application and currying (
I'd like that, but I think making |
As in, the following throws on both the latest NPM version and the website:
Here's the stack trace for each from
lsc
(same output):By the looks of it, there's no parsing support for this.
The text was updated successfully, but these errors were encountered: