Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

Function types #15

Open
pierwill opened this issue Sep 23, 2022 · 0 comments
Open

Function types #15

pierwill opened this issue Sep 23, 2022 · 0 comments

Comments

@pierwill
Copy link
Owner

flux-redex/src/grammar.rkt

Lines 140 to 153 in 9a13545

(FunctionLit (FunctionParameters "=>" FunctionBody))
(FunctionParameters EmptyParameterList
("(" ParameterList ")")
("(" ParameterList "," ")")) ; spec means to allow trailing comma?
(EmptyParameterList "()")
(ParameterList (Parameter Parameter ...))
(Parameter Identifier (Identifier "=" Expression))
(FunctionBody Expression Block)
(CallExpression ( "(" PropertyList ")"))

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant