Mercurial > urweb
comparison lib/ur/option.urs @ 1831:36428d853c97
Standard library additions: Option.unsafeGet, Basis.exp
author | Austin Seipp <mad.one@gmail.com> |
---|---|
date | Wed, 28 Nov 2012 11:41:54 -0500 |
parents | a99b743a3087 |
children |
comparison
equal
deleted
inserted
replaced
1830:d636d33fd8a2 | 1831:36428d853c97 |
---|---|
10 | 10 |
11 val mp : a ::: Type -> b ::: Type -> (a -> b) -> t a -> t b | 11 val mp : a ::: Type -> b ::: Type -> (a -> b) -> t a -> t b |
12 val bind : a ::: Type -> b ::: Type -> (a -> option b) -> t a -> t b | 12 val bind : a ::: Type -> b ::: Type -> (a -> option b) -> t a -> t b |
13 | 13 |
14 val get : a ::: Type -> a -> option a -> a | 14 val get : a ::: Type -> a -> option a -> a |
15 val unsafeGet : a ::: Type -> option a -> a |