aboutsummaryrefslogtreecommitdiffstats
path: root/lib/utilities.ml
diff options
context:
space:
mode:
authorEstevan Castilho <tevo@riajuu.net>2026-04-29 23:25:27 +0000
committerEstevan Castilho <tevo@riajuu.net>2026-04-30 00:05:08 +0000
commitbe86484d87d97ea3bddeceeedc2b8341290cc5a6 (patch)
tree9a2c6bbd23eaa6159ab9fab906cbcee607ef3749 /lib/utilities.ml
parent0d5e71c5bb3a3fdb13d378358e01b7d75f8e14b1 (diff)
downloadSakura-be86484d87d97ea3bddeceeedc2b8341290cc5a6.tar.gz
Sakura-be86484d87d97ea3bddeceeedc2b8341290cc5a6.zip
Add `fmap` to `Utilities.Result`
Diffstat (limited to 'lib/utilities.ml')
-rw-r--r--lib/utilities.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/utilities.ml b/lib/utilities.ml
index 34b0eb1..80ee35d 100644
--- a/lib/utilities.ml
+++ b/lib/utilities.ml
@@ -3,6 +3,7 @@ module StringSet = Set.Make (String)
module Result = struct
let ( let* ) = Result.bind
+ let fmap f m = Result.bind m f
end
module Option = struct