diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-12-12 11:02:20 -0500 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-12-12 11:02:20 -0500 |
commit | 84e471e64566698a5489810836b6ec80824d3e46 (patch) | |
tree | ab722581146ac2de00f49743a319f6b3ccf35a6e /lib/ur/option.urs | |
parent | 5b89513c103be2bde3048d8310469e4a0a7d5d1d (diff) |
Checked-ness of radio options; Option.get
Diffstat (limited to 'lib/ur/option.urs')
-rw-r--r-- | lib/ur/option.urs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ur/option.urs b/lib/ur/option.urs index 60ca6db9..62687963 100644 --- a/lib/ur/option.urs +++ b/lib/ur/option.urs @@ -8,3 +8,5 @@ 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 + +val get : a ::: Type -> a -> option a -> a |