mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-09-11 11:56:54 +03:00
26 lines
261 B
Plaintext
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
|