view lib/ur/option.urs @ 948:b03d48aac959

Find more opportunities for 'let' inlining with better purity information
author Adam Chlipala <adamc@hcoop.net>
date Thu, 17 Sep 2009 12:55:22 -0400
parents da3ec6014d2f
children 8c37699de273
line wrap: on
line source
datatype t = datatype Basis.option

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

val isNone : a ::: Type -> t a -> bool
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