type Bool
type Char
type Rune
type Int
type Long
type Integer
type Float
type Double
type Extended
type String
type ByteArray
type FloatArray
type DoubleArray
type Vector (t)
type Array (t)
type Ref (t)
type Ptr (t)
enumtype Order {Less, Equal, Greater}
datatype Option (t) { None, Some of (t) }
datatype Either (s, t) { In1 of (s), In2 of (t) }
datatype List (t) { Nil, Cons of (t, List(t)) }
tagtype Exn
tagtype System of String extends Exn
tagtype MatchFail extends Exn
tagtype BindFail extends Exn
tagtype Domain extends Exn
tagtype DivByZero of String extends Exn
tagtype Subscript of Int extends Exn
tagtype Size of Int extends Exn
tagtype Fail of String extends Exn
val ident : [t] t -> t
val curry : [s, t, u] ((s, t) -> u) -> s -> t -> u
val uncurry : [s, t, u] (s -> t -> u) -> (s, t) -> u
val timeOfDay : () -> (Int, Int)
val itod : Int -> Double
val itof : Int -> Float
val dtoi : Double -> Int
val ftoi : Float -> Int
val eq : (Bool, Bool) -> BoolThe operations have the following semantics:
val neq : (Bool, Bool) -> Bool
val not : Bool -> Bool
It serves as an instance of the overloaded == operator and will be moved to an internal module in the future. |
It serves as an instance of the overloaded != operator and will be moved to an internal module in the future. |
val andb : (Int, Int) -> Int
val orb : (Int, Int) -> Int
val xor : (Int, Int) -> Int
val rsha : (Int, Int) -> Int
val rshl : (Int, Int) -> Int
val lsh : (Int, Int) -> Int
val not : Int -> Int
val add : (Int, Int) -> Int
val sub : (Int, Int) -> Int
val mul : (Int, Int) -> Int
val div : (Int, Int) -> Int
val rem : (Int, Int) -> Int
val neg : Int -> Int
val eq : (Int, Int) -> Bool
val neq : (Int, Int) -> Bool
val lt : (Int, Int) -> Bool
val lte : (Int, Int) -> Bool
val gt : (Int, Int) -> Bool
val gte : (Int, Int) -> Bool
val abs : Int -> Int
val toString : Int -> String
val toStringUnsigned : Int -> String
val fromString : String -> Option(Int)
The Long type is not supported in this release. |
val eq : (Float, Float) -> Bool
val neq : (Float, Float) -> Bool
val lt : (Float, Float) -> Bool
val lte : (Float, Float) -> Bool
val gt : (Float, Float) -> Bool
val gte : (Float, Float) -> Bool
val add : (Float, Float) -> Float
val sub : (Float, Float) -> Float
val mul : (Float, Float) -> Float
val div : (Float, Float) -> Float
val pow : (Float, Float) -> Float
val neg : Float -> Float
val abs : Float -> Float
val toString : Float -> String
val fromString : String -> Option(Float)
val eq : (Double, Double) -> Bool
val neq : (Double, Double) -> Bool
val lt : (Double, Double) -> Bool
val lte : (Double, Double) -> Bool
val gt : (Double, Double) -> Bool
val gte : (Double, Double) -> Bool
val add : (Double, Double) -> Double
val sub : (Double, Double) -> Double
val mul : (Double, Double) -> Double
val div : (Double, Double) -> Double
val pow : (Double, Double) -> Double
val neg : Double -> Double
val abs : Double -> Double
val toString : Double -> String
val fromString : String -> Option(Double)
val ord : Char -> Int
val chr : Int -> Char
val eq : (Char, Char) -> Bool
val neq : (Char, Char) -> Bool
val lt : (Char, Char) -> Bool
val lte : (Char, Char) -> Bool
val gt : (Char, Char) -> Bool
val gte : (Char, Char) -> Bool
val isDigit : Char -> Bool
val isLower : Char -> Bool
val isUpper : Char -> Bool
val isSpace : Char -> Bool
val eq : (String, String) -> BoolThe operations have the following semantics:
val neq : (String, String) -> Bool
val length : String -> Int
val sub : (String, Int) -> Char
val concat2 : (String, String) -> String
val substring : (String, Int, Int) -> String
val implode : List(Char) -> String
It serves as an instance of the overloaded == operator and will be moved to an internal module in the future. |
It serves as an instance of the overloaded != operator and will be moved to an internal module in the future. |
This function is an instance of the overloaded subscript notation and will be moved to an internal module in the future. |
This function is an instance of the overloaded + operator and will be moved to an internal module in the future. |
val length : [t] Vector(t) -> Int
val sub : [t] (Vector(t), Int) -> t
val array : [t] (Int, t) -> Array(t)
val length : [t] Array(t) -> Int
val fromList : [t] List(t) -> Array(t)
val array : (Int, Int) -> ByteArray
val length : ByteArray -> Int
val array : (Int, Float) -> FloatArray
val length : FloatArray -> Int
val array : (Int, Double) -> DoubleArray
val length : DoubleArray -> Int
val ref : [t] t -> Ref(t)
val map : [s, t] (s -> t) -> Option(s) -> Option(t)
val apply : [t] (t -> ()) -> Option(t) -> ()
val default : [t] (Option(t), t) -> t
val length : [t] List(t) -> Int
val apply : [t] (t -> ()) -> List(t) -> ()
val append : [t] (List(t), List(t)) -> List(t)