aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Letan <lthms@soap.coffee>2022-08-21 15:41:10 +0200
committerThomas Letan <lthms@soap.coffee>2022-08-21 15:41:10 +0200
commit446f072fd73857057b0b26ca1046d964032f4ecc (patch)
tree8f8e64ea3ef8a1d3d00dff8fe6e500af11325f33
parentFollow ocamlformat recommendation for a minimal .ocamlformat file (diff)
Fix Json_decoder.( let* )
The previous implementation made no sense at all, but we never saw it because we have never used it.
-rw-r--r--lib/json_decoder/json_decoder.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/json_decoder/json_decoder.ml b/lib/json_decoder/json_decoder.ml
index b7b9c57..1f84820 100644
--- a/lib/json_decoder/json_decoder.ml
+++ b/lib/json_decoder/json_decoder.ml
@@ -10,7 +10,7 @@ module Syntax = struct
let ( let* ) dec k value =
let x = dec value in
- k x
+ k x value
let return x _value = x
end