Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.

Commit f22cf4e

Browse files
committed
Fix cardinality of BinaryType and ReadyState
1 parent 903572f commit f22cf4e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/DOM/Websocket/BinaryType.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ instance enumBinaryType :: Enum BinaryType where
2020
pred = defaultPred toEnumBinaryType fromEnumBinaryType
2121

2222
instance boundedEnumBinaryType :: BoundedEnum BinaryType where
23-
cardinality = Cardinality 3
23+
cardinality = Cardinality 2
2424
toEnum = toEnumBinaryType
2525
fromEnum = fromEnumBinaryType
2626

src/DOM/Websocket/ReadyState.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ instance enumReadyState :: Enum ReadyState where
2222
pred = defaultPred toEnumReadyState fromEnumReadyState
2323

2424
instance boundedEnumReadyState :: BoundedEnum ReadyState where
25-
cardinality = Cardinality 3
25+
cardinality = Cardinality 4
2626
toEnum = toEnumReadyState
2727
fromEnum = fromEnumReadyState
2828

0 commit comments

Comments
 (0)