diff options
author | Pierre Boutillier <pierre.boutillier@ens-lyon.org> | 2014-12-14 12:01:59 +0100 |
---|---|---|
committer | Pierre Boutillier <pierre.boutillier@ens-lyon.org> | 2014-12-14 23:38:21 +0100 |
commit | ab1e5d1f9180daa64924b0b398300cd311611045 (patch) | |
tree | c07439bb0f5d1d7709603bce6a448cce5af97c7f /lib/util.ml | |
parent | 2db658105f8ed20ca2153271b339c777b79da406 (diff) |
Util.un_op -> Option.default
Diffstat (limited to 'lib/util.ml')
-rw-r--r-- | lib/util.ml | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/util.ml b/lib/util.ml index cfb4ebabc..531e4fe7d 100644 --- a/lib/util.ml +++ b/lib/util.ml @@ -105,11 +105,6 @@ let app_opt f x = | Some f -> f x | None -> x -let un_opt x default = - match x with - | None -> default - | Some y -> y - (* Stream *) let stream_nth n st = |