Skip to content

Commit

Permalink
integer-simple: Add documentation for Integer type
Browse files Browse the repository at this point in the history
  • Loading branch information
bgamari authored and Marge Bot committed Apr 3, 2019
1 parent 3364def commit dd3a3d0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libraries/integer-simple/GHC/Integer/Type.hs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ import GHC.Tuple ()
import GHC.IntWord64
#endif

-- | Arbitrary precision integers. In contrast with fixed-size integral types
-- such as 'Int', the 'Integer' type represents the entire infinite range of
-- integers.
data Integer = Positive !Positive | Negative !Positive | Naught

-------------------------------------------------------------------
Expand Down

0 comments on commit dd3a3d0

Please sign in to comment.