Mercurial > urweb
annotate lib/ur/option.urs @ 848:e8594cfa3236
Fix MonoReduce unsoundness with lets and fns
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sat, 13 Jun 2009 15:42:24 -0400 |
parents | 0d30e6338c65 |
children | da3ec6014d2f |
rev | line source |
---|---|
adamc@841 | 1 datatype t = datatype Basis.option |
adamc@841 | 2 |
adamc@846 | 3 val eq : a ::: Type -> eq a -> eq (t a) |
adamc@846 | 4 |
adamc@841 | 5 val isSome : a ::: Type -> t a -> bool |
adamc@844 | 6 |
adamc@844 | 7 val mp : a ::: Type -> b ::: Type -> (a -> b) -> t a -> t b |
adamc@846 | 8 val bind : a ::: Type -> b ::: Type -> (a -> option b) -> t a -> t b |