File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -79,18 +79,19 @@ module Data.Array
79
79
) where
80
80
81
81
import Prelude
82
+
82
83
import Control.Alt (Alt , (<|>))
83
84
import Control.Alternative (Alternative )
84
85
import Control.Lazy (Lazy , defer )
85
86
import Control.MonadPlus (MonadPlus )
86
87
import Control.Plus (Plus )
88
+
87
89
import Data.Foldable (foldl )
88
- import Data.Functor.Invariant (Invariant , imapF )
90
+ import Data.Functor.Invariant (Invariant )
89
91
import Data.Maybe (Maybe (..), maybe , isJust )
90
- import Data.Monoid (Monoid , mempty )
92
+ import Data.Monoid (Monoid )
91
93
import Data.Traversable (sequence )
92
94
import Data.Tuple (Tuple (..))
93
-
94
95
import qualified Data.Maybe.Unsafe as U
95
96
96
97
-- ------------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -17,8 +17,10 @@ module Data.Array.ST
17
17
) where
18
18
19
19
import Prelude
20
+
20
21
import Control.Monad.Eff (Eff ())
21
22
import Control.Monad.ST (ST ())
23
+
22
24
import Data.Maybe (Maybe (..))
23
25
24
26
-- | A reference to a mutable array.
Original file line number Diff line number Diff line change 6
6
module Data.Array.Unsafe where
7
7
8
8
import Prelude
9
+
9
10
import Data.Array (length , slice )
10
11
11
12
-- | Find the element of an array at the specified index.
You can’t perform that action at this time.
0 commit comments