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
What problem does this solve or what need does it fill?
There is no way to make your own functions/closures inside the built-in parser.
What solution would you like?
Add a way to create your own functions/closures.
I think only implementing closures is actually the right move, mostly because its less work.
But I also kinda prefer the closure syntax for creating functions in a console. Heres an example:
my_func = |a| a + 5
my_func 5
> 10
The text was updated successfully, but these errors were encountered:
What problem does this solve or what need does it fill?
There is no way to make your own functions/closures inside the built-in parser.
What solution would you like?
Add a way to create your own functions/closures.
I think only implementing closures is actually the right move, mostly because its less work.
But I also kinda prefer the closure syntax for creating functions in a console. Heres an example:
The text was updated successfully, but these errors were encountered: