CakeML/cakeml

Support for multi-case functions defined by pattern matching

开放

#264 创建于 2017年4月23日

 (8 条评论) (0 个反应) (2 位负责人)Standard ML (98 个派生)auto 404
enhancementhelp wantedhigh effortlow rewarduser experience

仓库指标

星标
 (1,169 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南