8 lines
No EOL
162 B
Text
8 lines
No EOL
162 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
|
|
} |