summaryrefslogtreecommitdiff
path: root/src/gen_lib
diff options
context:
space:
mode:
authorThomas Bauereiss2017-08-15 14:25:28 +0100
committerThomas Bauereiss2017-08-15 14:26:05 +0100
commite9badcc77afe07e95a1ace1598d50875e5331893 (patch)
treee74d720be4203b2d83d85667196aa3ffc7f951ee /src/gen_lib
parent94fa8f92644209ca3ffb4242c98eb92c8d58e2ae (diff)
Improve and simplify handling of mutable local variables
Diffstat (limited to 'src/gen_lib')
-rw-r--r--src/gen_lib/state.lem2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gen_lib/state.lem b/src/gen_lib/state.lem
index 2e11e8a9..140258d8 100644
--- a/src/gen_lib/state.lem
+++ b/src/gen_lib/state.lem
@@ -52,7 +52,7 @@ let exit _ s = [(Right (), s)]
val early_return : forall 'r. 'r -> MR unit 'r
let early_return r s = [(Right (Just r), s)]
-val catch_early_return : forall 'a 'r. MR 'a 'a -> M 'a
+val catch_early_return : forall 'a. MR 'a 'a -> M 'a
let catch_early_return m s =
List.map
(function