We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d47a840 + a9ce0c1 commit 9be2271Copy full SHA for 9be2271
src/Data/Currency.purs
@@ -27,6 +27,7 @@ import Prim.TypeError (class Warn, Text)
27
newtype Cents = Cents BigInt
28
derive instance newtypeCents :: Newtype Cents _
29
derive newtype instance eqCents :: Eq Cents
30
+derive newtype instance ordCents :: Ord Cents
31
32
instance encodeJsonCents :: EncodeJson Cents where
33
encodeJson = encodeJson <<< centsToNumber
0 commit comments