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/EphemeralRelation.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/kernel/EphemeralRelation.ml') diff --git a/lib/kernel/EphemeralRelation.ml b/lib/kernel/EphemeralRelation.ml index 3e955ba..8843d11 100644 --- a/lib/kernel/EphemeralRelation.ml +++ b/lib/kernel/EphemeralRelation.ml @@ -49,9 +49,9 @@ module Persisted = struct let open Utilities.Result in let open Concepts.Encoding in let* name = Field.require_string "name" fields in - let* schematics = Bencode.field "schema" fields |> fmap Value.hash_of_bencode in + let* schematics = Bencode.field "schema" fields |>> Value.hash_of_bencode in let* evaluator = Field.require_string "evaluator" fields in - let* code = Bencode.field "program" fields |> fmap Value.hash_of_bencode in + let* code = Bencode.field "program" fields |>> Value.hash_of_bencode in Ok {name; schematics; pointer= {evaluator; code}} end end -- cgit v1.2.3