Skip to content

Commit 13f4698

Browse files
committed
Remove broken BoundedEnum instance for Int
1 parent af104f7 commit 13f4698

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/Data/Enum.purs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,11 +165,6 @@ instance boundedEnumBoolean :: BoundedEnum Boolean where
165165
fromEnum false = 0
166166
fromEnum true = 1
167167

168-
instance boundedEnumInt :: BoundedEnum Int where
169-
cardinality = Cardinality (top - bottom)
170-
toEnum = Just
171-
fromEnum = id
172-
173168
instance boundedEnumChar :: BoundedEnum Char where
174169
cardinality = Cardinality (toCharCode top - toCharCode bottom)
175170
toEnum = charToEnum

0 commit comments

Comments
 (0)