Add top-level variable to schala prelude

This commit is contained in:
greg 2019-09-25 02:54:56 -07:00
parent 5a9f3c1850
commit 031ff9fe7e

View File

@ -1,3 +1,4 @@
let _SCHALA_VERSION = "0.1.0"
type Option<T> = Some(T) | None
type Ord = LT | EQ | GT
@ -9,6 +10,5 @@ fn map(input: Option<T>, func: Func): Option<T> {
is Option::None -> Option::None,
}
}
type Complicated = Sunrise | Metal { black: bool, norwegian: bool } | Fella(String, Int)