diff options
Diffstat (limited to 'src/Lib/Option.ml')
-rw-r--r-- | src/Lib/Option.ml | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/Lib/Option.ml b/src/Lib/Option.ml deleted file mode 100644 index 1158b96..0000000 --- a/src/Lib/Option.ml +++ /dev/null @@ -1,9 +0,0 @@ -let withDefault default opt = - match opt with - | Some v -> v - | None -> default - -let map f opt = - match opt with - | Some v -> Some (f v) - | None -> None |