-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requestfrontendEngineering issues related to the frontend subsystemEngineering issues related to the frontend subsystemgood first issueGood for newcomersGood for newcomers
Description
Right now, if we want to type-annotate a lambda, e.g., fun x { x }, we need to write it postfix, i.e.,
(fun x
x): a -> a
However, this can get kind of cumbersome. @sedwards-lab suggested that to keep the syntax uniform, we should also support the following:
fun (x: a) -> a
x
fun x : a -> a
x
This should of course generalize to lambdas with multiple arguments.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestfrontendEngineering issues related to the frontend subsystemEngineering issues related to the frontend subsystemgood first issueGood for newcomersGood for newcomers