Mercurial > urweb
comparison lib/ur/option.urs @ 1068:757dbac0454d
Checked-ness of radio options; Option.get
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sat, 12 Dec 2009 11:02:20 -0500 |
parents | 8c37699de273 |
children | a99b743a3087 |
comparison
equal
deleted
inserted
replaced
1067:50dd937c4cb9 | 1068:757dbac0454d |
---|---|
6 val isNone : a ::: Type -> t a -> bool | 6 val isNone : a ::: Type -> t a -> bool |
7 val isSome : a ::: Type -> t a -> bool | 7 val isSome : a ::: Type -> t a -> bool |
8 | 8 |
9 val mp : a ::: Type -> b ::: Type -> (a -> b) -> t a -> t b | 9 val mp : a ::: Type -> b ::: Type -> (a -> b) -> t a -> t b |
10 val bind : a ::: Type -> b ::: Type -> (a -> option b) -> t a -> t b | 10 val bind : a ::: Type -> b ::: Type -> (a -> option b) -> t a -> t b |
11 | |
12 val get : a ::: Type -> a -> option a -> a |