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.

貢獻者指南