You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sys.out <|"Hello world!"<|Sys.endl
//Equivalent to
Sys.out("Hello world!")(Sys.endl)
//Equivalent to (because Sys.out(val) returns Sys.out)
Sys.out("Hello world!")
Sys.out(Sys.endl)
a =Sys.in |> getNumber
//Equivalent to
a = getNumber(Sys.in)
a =map(f, listOfThings)
//Equivalent to
a = listOfThings |>map(f)
a = cat(map(f, listOfThings))
//Equivalent to
a = listOfThings |>map(f) |> cat
//Returns true if value a must conform to type t (in its current context)
a:t
e.g.
a = [1,2,3]
a:vector(int) ==False
a:vector(number) ==True
a:vector(int) == a[0]:int