From 8a249bc142d021b42a1c71876c6adf3d1168f270 Mon Sep 17 00:00:00 2001 From: Masaya Tojo Date: Sun, 16 Jun 2024 19:19:18 +0900 Subject: Update examples --- examples/state.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'examples/state.scm') 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 >>=) -- cgit v1.2.3