Add type annotation syntax for lambdas #67
Labels
enhancement
New feature or request
frontend
Engineering issues related to the frontend subsystem
good first issue
Good for newcomers
Right now, if we want to type-annotate a lambda, e.g.,
fun x { x }
, we need to write it postfix, i.e.,However, this can get kind of cumbersome. @sedwards-lab suggested that to keep the syntax uniform, we should also support the following:
This should of course generalize to lambdas with multiple arguments.
The text was updated successfully, but these errors were encountered: