Skip to content

Commit 8fb9d44

Browse files
Don't import constructors from Free in Trampoline
1 parent 1a92ae8 commit 8fb9d44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Control/Monad/Trampoline.purs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module Control.Monad.Trampoline
1111

1212
import Prelude
1313

14-
import Control.Monad.Free (Free(..), lift, runPure)
14+
import Control.Monad.Free (Free, lift, runPure)
1515

1616
-- | The `Trampoline` monad
1717
-- |
@@ -21,7 +21,7 @@ type Trampoline = Free ((->) Unit)
2121

2222
-- | Return a value immediately
2323
done :: forall a. a -> Trampoline a
24-
done = Pure
24+
done = pure
2525

2626
-- | Use the `Trampoline` monad to represent the delayed evaluation of a value.
2727
delay :: forall a. (Unit -> a) -> Trampoline a

0 commit comments

Comments
 (0)