
#15253: Add support for type-level integers -------------------------------------+------------------------------------- Reporter: chessai | Owner: (none) Type: feature request | Status: new Priority: normal | Milestone: 8.6.1 Component: Compiler | Version: 8.4.3 Resolution: | Keywords: compiler, | base Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by AntC): We already have type-level `Nat`. Then you can emulate `Integer` by pairing a `Nat` with type-level `Bool` to hold the sign. Do you have a stronger use case than "it would be nice to see"? Ryan's comment to your previous request ticket:14922#comment:3 applies here as well. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15253#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler