Skip to content

Commit 205838c

Browse files
remove Newtype instance for CodePoint
1 parent af2db11 commit 205838c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Data/String/CodePoints.purs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ import Data.Array as Array
3131
import Data.Char as Char
3232
import Data.List (List(Cons, Nil), fromFoldable)
3333
import Data.Maybe (Maybe(Just, Nothing))
34-
import Data.Newtype (class Newtype)
3534
import Data.String as String
3635
import Data.String.Unsafe as Unsafe
3736
-- WARN: This list must be updated to re-export any exports added to Data.String. That makes me sad.
@@ -46,7 +45,6 @@ newtype CodePoint = CodePoint Int
4645

4746
derive instance eqCodePoint :: Eq CodePoint
4847
derive instance ordCodePoint :: Ord CodePoint
49-
derive instance newtypeCodePoint :: Newtype CodePoint _
5048

5149
-- I would prefer that this smart constructor not need to exist and instead
5250
-- CodePoint just implements Enum, but the Enum module already depends on this

0 commit comments

Comments
 (0)