Mercurial > urweb
view lib/ur/option.urs @ 934:36f787c02287
Fix a bug in Jscomp environment calculation for EQuery; smarter embedding of record projection in JavaScript
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Mon, 14 Sep 2009 19:04:38 -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