aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/control/comonad.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/control/comonad.lux')
-rw-r--r--stdlib/source/lux/control/comonad.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/lux/control/comonad.lux b/stdlib/source/lux/control/comonad.lux
index eca4cd4f1..7886d8c3c 100644
--- a/stdlib/source/lux/control/comonad.lux
+++ b/stdlib/source/lux/control/comonad.lux
@@ -49,10 +49,10 @@
body
(list;reverse (list;as-pairs bindings)))]
(#;Right [state (#;Cons (` ("lux case" (~ comonad)
- (~' @)
- ("lux case" (~' @)
- {#functor {#F;map (~ g!map)} #unwrap (~' unwrap) #split (~ g!split)}
- (~ body'))))
+ {(~' @)
+ ("lux case" (~' @)
+ {{#functor {#F;map (~ g!map)} #unwrap (~' unwrap) #split (~ g!split)}
+ (~ body')})}))
#;Nil)]))
(#;Left "'be' bindings must have an even number of parts."))