Curried function #8780
resynth1943
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
Deno is a runtime for TypeScript and JavaScript. It does not create it's own language structures. There are a few proposals for JavaScript, like a competing pipeline operator, that would bring some of these features. Deno adopts these features once incorporated in v8 and TypeScript rather quickly. |
Beta Was this translation helpful? Give feedback.
0 replies
-
i wonder when pipeline operator can be supported |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In F# (and this is one of my favourite features),
printf
is automatically curried, so you can do things like this (JS example):This may not be feasible to implement; it would most likely require quite a lot of refactoring, and LSP / compiler support (which probably isn't happening).
Just an idea, though.
Beta Was this translation helpful? Give feedback.
All reactions