Skip to content

Commit 63b015e

Browse files
committed
Merge pull request #3 from garyb/unused-imports
Remove unused imports
2 parents 07d4b59 + fd61762 commit 63b015e

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

src/Control/Coroutine/Aff.purs

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
-- | This module defines functions for creating coroutines on top of the `Aff` monad.
2-
-- |
2+
-- |
33
-- | The `Aff` monad only supports actions which return a single value, asynchronously, so this
44
-- | module provides a principled way to deal with asynchronous _streams_ of values, and asynchronous consumers
55
-- | of streamed data.
@@ -8,23 +8,21 @@ module Control.Coroutine.Aff where
88

99
import Prelude
1010

11-
import Data.Maybe
12-
import Data.Either
13-
import Data.Functor (($>))
14-
15-
import Control.Coroutine
11+
import Data.Either (Either())
12+
13+
import Control.Coroutine (Producer(), producer)
1614
import Control.Monad.Eff (Eff())
1715
import Control.Monad.Eff.Class (liftEff)
1816
import Control.Monad.Aff (Aff(), runAff)
19-
import Control.Monad.Aff.AVar (AVar(), AVAR(), makeVar, takeVar, putVar)
17+
import Control.Monad.Aff.AVar (AVAR(), makeVar, takeVar, putVar)
2018
import Control.Monad.Trans (lift)
21-
19+
2220
-- | Create a `Producer` using an asynchronous callback.
2321
-- |
24-
-- | The callback should provide zero or more values of type `a`, which will be
22+
-- | The callback should provide zero or more values of type `a`, which will be
2523
-- | emitted by the `Producer`, terminated by an optional value of type `r`. No values
2624
-- | should be provided after a value of type `r` has been provided.
27-
-- |
25+
-- |
2826
-- | For example:
2927
-- |
3028
-- | ```purescript

0 commit comments

Comments
 (0)