diff options
author | Pierre Courtieu <Pierre.Courtieu@cnam.fr> | 2014-12-12 15:19:10 +0100 |
---|---|---|
committer | Pierre Courtieu <Pierre.Courtieu@cnam.fr> | 2014-12-12 15:21:22 +0100 |
commit | a417d138c0a8abc028486c20d59e4f2e82f456ef (patch) | |
tree | 1f9efdac4020f8dde23583cbccef135f0520caea /lib/util.mli | |
parent | f47afacd86ff1f9fda5347decf298ace941a24bc (diff) |
Searchxxx now search also the hypothesis and support goal selector.
Documentation also updated.
Diffstat (limited to 'lib/util.mli')
-rw-r--r-- | lib/util.mli | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/util.mli b/lib/util.mli index 86720fe47..bcb1b6265 100644 --- a/lib/util.mli +++ b/lib/util.mli @@ -89,6 +89,10 @@ val iterate : ('a -> 'a) -> int -> 'a -> 'a val repeat : int -> ('a -> unit) -> 'a -> unit val app_opt : ('a -> 'a) option -> 'a -> 'a +(** [un_opt opt default] returns the content of [opt] if possible and + default otherwise. *) +val un_opt : 'a option -> 'a -> 'a + (** {6 Delayed computations. } *) type 'a delayed = unit -> 'a |