You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for this proposal; seems really cool. I was confused by this example, though:
varperson={score: 75};varnewScore=person.score|>double|>score=>add(7,score)|>validateScorenewScore//=> 107// As opposed to: var newScore = add(7, validateScore( double(person.score) ))
Now I don't know if there's a mistake in the example or if the proposal itself confuses me, but it seems really odd that the functions nest in a different order than they are piped. I would think that they would nest in the same order, with the first piped function as the innermost one, namely:
Thanks for this proposal; seems really cool. I was confused by this example, though:
Now I don't know if there's a mistake in the example or if the proposal itself confuses me, but it seems really odd that the functions nest in a different order than they are piped. I would think that they would nest in the same order, with the first piped function as the innermost one, namely:
Am I misunderstanding the example? Why do they neat in a different order for this case?
Thanks for all your great work!
The text was updated successfully, but these errors were encountered: