diff 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
line wrap: on
line diff
--- a/lib/ur/option.urs	Thu Dec 10 15:46:07 2009 -0500
+++ b/lib/ur/option.urs	Sat Dec 12 11:02:20 2009 -0500
@@ -8,3 +8,5 @@
 
 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
+
+val get : a ::: Type -> a -> option a -> a