Bolt icon indicating copy to clipboard operation
Bolt copied to clipboard

Add support for anonymous functions

Open samvv opened this issue 1 year ago • 1 comments

Right now, Bolt does not support anonymous function, i.e. lambda expressions. It is very cumbersome to have to write a named function for each small procedure, so evidently this feature should be implemented.

samvv avatar Jul 09 '24 18:07 samvv

We are going to implement the following Haskell-like syntax:

let modify_state = ...

modify_state \x -> x + 1

samvv avatar Jul 09 '24 18:07 samvv