oplss2024/pfenning/test.adj0

8 lines
144 B
Text
Raw Normal View History

2024-06-03 19:00:06 +00:00
type bool = +{'true : 1, 'false : 1}
decl not (x : bool) : bool
defn not x = match x with
| 'true () => 'false ()
| 'false () => 'true ()