From 0f5161930584eaf91fd195b891ce7d9130c7b7f1 Mon Sep 17 00:00:00 2001 From: Estevan Castilho Date: Sat, 24 Oct 2026 01:30:08 +0000 Subject: Forsake `fmap` --- lib/kernel/SubstantialRelation.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/kernel/SubstantialRelation.ml') diff --git a/lib/kernel/SubstantialRelation.ml b/lib/kernel/SubstantialRelation.ml index 9cb57f0..fe9e34f 100644 --- a/lib/kernel/SubstantialRelation.ml +++ b/lib/kernel/SubstantialRelation.ml @@ -61,8 +61,8 @@ module Make (S : Abstract.Storage.STORAGE) = struct let of_fields fields = let open Utilities.Result in let open Concepts.Encoding in - let* schematics = Bencode.field "schema" fields |> fmap Value.hash_of_bencode in - let* tuples = Bencode.field "tuples" fields |> fmap Value.hash_of_bencode in + let* schematics = Bencode.field "schema" fields |>> Value.hash_of_bencode in + let* tuples = Bencode.field "tuples" fields |>> Value.hash_of_bencode in Ok {schematics; tuples} end -- cgit v1.2.3