Add a type to the prelude to test records

This commit is contained in:
greg 2019-08-12 11:33:03 -07:00
parent b65d6e4c8e
commit e708c728d2

View File

@ -1,6 +1,5 @@
type Option<T> = Some(T) | None
type Color = Red | Green | Blue
type Ord = LT | EQ | GT
@ -11,3 +10,5 @@ fn map(input: Option<T>, func: Func): Option<T> {
}
}
type Complicated = Sunrise | Metal { black: bool, norwegian: bool } | Fella(String, Int)