Skip to content

Commit eadcc23

Browse files
committed
Merge pull request #5 from telser/purescript-0.8-warnings
Fix warnings generated by purescript-0.8.0
2 parents 4cc1cdf + 4852ef4 commit eadcc23

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

src/Data/Unfoldable.purs

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66

77
module Data.Unfoldable where
88

9-
import Prelude
9+
import Prelude (class Applicative, unit, const, (-), (<=), return, bind, ($))
1010

11-
import Data.Maybe
12-
import Data.Tuple
13-
import Data.Array.ST
14-
import Data.Traversable
15-
import Control.Monad.Eff
16-
import Control.Monad.ST
11+
import Data.Maybe (Maybe(Nothing, Just))
12+
import Data.Tuple (Tuple(Tuple))
13+
import Data.Array.ST (pushSTArray, emptySTArray, runSTArray)
14+
import Data.Traversable (class Traversable, sequence)
15+
import Control.Monad.Eff (untilE, runPure)
16+
import Control.Monad.ST (writeSTRef, readSTRef, newSTRef)
1717

1818
-- | This class identifies data structures which can be _unfolded_,
1919
-- | generalizing `unfoldr` on arrays.
@@ -76,4 +76,3 @@ none = unfoldr (const Nothing) unit
7676
-- | ~~~
7777
singleton :: forall f a. (Unfoldable f) => a -> f a
7878
singleton = replicate 1
79-

0 commit comments

Comments
 (0)