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 Option<T> = Some(T) | None
|
||||||
type Ord = LT | EQ | GT
|
type Ord = LT | EQ | GT
|
||||||
@ -10,5 +11,4 @@ fn map(input: Option<T>, func: Func): Option<T> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
type Complicated = Sunrise | Metal { black: bool, norwegian: bool } | Fella(String, Int)
|
type Complicated = Sunrise | Metal { black: bool, norwegian: bool } | Fella(String, Int)
|
||||||
|
Loading…
Reference in New Issue
Block a user