aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Utilities.ml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Utilities.ml')
-rw-r--r--lib/Utilities.ml3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Utilities.ml b/lib/Utilities.ml
index 0472038..939556e 100644
--- a/lib/Utilities.ml
+++ b/lib/Utilities.ml
@@ -90,11 +90,10 @@ module FingerTree = struct
let filter_map f =
BatFingerTree.fold_left
(fun acc elem ->
- match f elem with None -> acc | Some result -> BatFingerTree.snoc acc result)
+ match f elem with None -> acc | Some result -> BatFingerTree.snoc acc result )
BatFingerTree.empty
let concat xss = BatFingerTree.fold_left BatFingerTree.append BatFingerTree.empty xss
-
let concat_mapm f xs = BatFingerTree.map f xs |> sequence |> Stdlib.Result.map concat
end