CakeML/cakeml

Support for multi-case functions defined by pattern matching

Offen

#264 geöffnet am 23.04.2017

 (8 Kommentare) (0 Reaktionen) (2 zugewiesene Personen)Standard ML (98 Forks)auto 404
enhancementhelp wantedhigh effortlow rewarduser experience

Repository-Metriken

Stars
 (1.169 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Function declarations currently only accept variables as arguments, but in SML one can do pattern matching with a declaration. CakeML AST does not support that, but the parser could generate the corresponding case expression on the tuple of argument variables. Or the AST could be augmented, if necessary, to do something more sophisticated.

Contributor Guide