view lib/ur/option.urs @ 898:d1d0b18afd3d

Working on Grid; have gone from one dynamic table bizareness to another
author Adam Chlipala <adamc@hcoop.net>
date Sun, 19 Jul 2009 17:45:02 -0400
parents 0d30e6338c65
children da3ec6014d2f
line wrap: on
line source
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