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.
1 parent 8b77727 commit 036bbecCopy full SHA for 036bbec
src/Prelude.purs
@@ -898,6 +898,10 @@ instance boundedOrdering :: Bounded Ordering where
898
top = GT
899
bottom = LT
900
901
+instance boundedInt :: Bounded Int where
902
+ top = 2147483647
903
+ bottom = -2147483648
904
+
905
-- | The `Lattice` type class represents types that are partially ordered
906
-- | sets with a supremum (`sup` or `||`) and infimum (`inf` or `&&`).
907
-- |
0 commit comments