aboutsummaryrefslogtreecommitdiff
path: root/examples/state.scm
diff options
context:
space:
mode:
authorMasaya Tojo <masaya@tojo.tokyo>2024-06-16 19:19:18 +0900
committerMasaya Tojo <masaya@tojo.tokyo>2024-06-16 19:19:18 +0900
commit8a249bc142d021b42a1c71876c6adf3d1168f270 (patch)
tree958145395d7143926b94ca241cdeb5477e140a0e /examples/state.scm
parentb0dfdae06b34a7b760a800970cbc4d668cf32fc0 (diff)
Update examples
Diffstat (limited to 'examples/state.scm')
-rw-r--r--examples/state.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/state.scm b/examples/state.scm
index 2594a74..d4f5efc 100644
--- a/examples/state.scm
+++ b/examples/state.scm
@@ -32,7 +32,8 @@
(module (data state applicative) = (algebraic-structures applicative)
(import scheme
matchable
- (chicken module))
+ (chicken module)
+ (only (data state functor)))
(reexport (data state functor))
(export pure map2)
@@ -48,7 +49,8 @@
(module (data state monad) = (algebraic-structures monad)
(import (except scheme map apply)
matchable
- (chicken module))
+ (chicken module)
+ (only (data state applicative)))
(reexport (data state applicative))
(export >>=)