diprism / perpl

The PERPL Compiler
MIT License
10 stars 5 forks source link

case wants cases to be in same order as they were declared #15

Closed davidweichiang closed 2 years ago

davidweichiang commented 2 years ago

This currently doesn't compile:

data bool = false | true

define not: bool->bool = \b: bool. 
  case b of true -> false | false -> true