Add top-level variable to schala prelude
This commit is contained in:
parent
5a9f3c1850
commit
031ff9fe7e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user