Skip to content

Commit e8ca6f3

Browse files
open imports for Prelude
1 parent 71c5156 commit e8ca6f3

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/Data/String.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ module Data.String
3636
, joinWith
3737
) where
3838

39-
import Prelude (class Ord, class Eq, class Show, Ordering(LT, EQ, GT), zero, one, (<<<), (<>), (==), ($), (-))
39+
import Prelude
4040

4141
import Data.Maybe (Maybe(..), isJust)
4242
import Data.Newtype (class Newtype)

src/Data/String/CodePoints.purs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ module Data.String.CodePoints
2121
, uncons
2222
) where
2323

24+
import Prelude
25+
2426
import Data.Array as Array
2527
import Data.Char as Char
2628
import Data.List (List(Cons, Nil), fromFoldable)
@@ -32,7 +34,6 @@ import Data.String.Unsafe as Unsafe
3234
import Data.String (Pattern(..), Replacement(..), charAt, charCodeAt, contains, fromCharArray, joinWith, localeCompare, null, replace, replaceAll, split, stripPrefix, stripSuffix, toChar, toCharArray, toLower, toUpper, trim) as StringReExports
3335
import Data.Tuple (Tuple(Tuple))
3436
import Data.Unfoldable (unfoldr)
35-
import Prelude (class Eq, class Ord, (&&), (||), (*), (+), (-), (<$>), (<), (<=), (<<<), (/), (<>), (==), mod)
3637

3738

3839
newtype CodePoint = CodePoint Int

test/Test/Data/String/CodePoints.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module Test.Data.String.CodePoints (testStringCodePoints) where
22

3-
import Prelude (Unit, discard, negate, (==), ($), (&&), (<), (<$>))
3+
import Prelude
44

55
import Control.Monad.Eff (Eff)
66
import Control.Monad.Eff.Console (CONSOLE, log)

0 commit comments

Comments
 (0)