Bend/tests/golden_tests/encode_pattern_match/common.bend

26 lines
261 B
Plaintext

type Box
= (Filled value)
| Empty
type Option
= (Some x)
| None
type Result_
= (Ok a)
| (Err b)
type List_
= (Cons x xs)
| Nil
type Bool = True | False
type Light = Red | Yellow | Green
type Direction
= North
| South
| East
| West