10 lines
178 B
Text
10 lines
178 B
Text
type bool =
|
|
|
|
True | False
|
|
type collection<`t, `a> =
|
|
{
|
|
empty : `t
|
|
, add : (`a * `t) -> `t
|
|
, map : (`a -> `a) -> (`t -> `t)
|
|
, split : (`a -> bool) -> (`t * `t)
|
|
}
|