aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/ur/option.urs
blob: 984bc68161340c315ea8c46270551af463fd1746 (plain)
1
2
3
4
5
6
7
8
datatype t = datatype Basis.option

val eq : a ::: Type -> eq a -> eq (t a)

val isSome : a ::: Type -> t a -> bool

val mp : a ::: Type -> b ::: Type -> (a -> b) -> t a -> t b
val bind : a ::: Type -> b ::: Type -> (a -> option b) -> t a -> t b