We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
BoundedEnum
Int
1 parent af104f7 commit 13f4698Copy full SHA for 13f4698
src/Data/Enum.purs
@@ -165,11 +165,6 @@ instance boundedEnumBoolean :: BoundedEnum Boolean where
165
fromEnum false = 0
166
fromEnum true = 1
167
168
-instance boundedEnumInt :: BoundedEnum Int where
169
- cardinality = Cardinality (top - bottom)
170
- toEnum = Just
171
- fromEnum = id
172
-
173
instance boundedEnumChar :: BoundedEnum Char where
174
cardinality = Cardinality (toCharCode top - toCharCode bottom)
175
toEnum = charToEnum
0 commit comments