Skip to content
  • Herbert Valerio Riedel's avatar
    Un-wire `Integer` type (re #9714) · 0e1f0f7d
    Herbert Valerio Riedel authored
    Integer is currently a wired-in type for integer-gmp. This requires
    replicating its inner structure in `TysWiredIn`, which makes it much
    harder to change Integer to a more complex representation (as
    e.g. needed for implementing #9281)
    
    This commit stops `Integer` being a wired-in type, and makes it
    known-key type instead, thereby simplifying code notably.
    
    Reviewed By: austin
    
    Differential Revision: https://phabricator.haskell.org/D351
    0e1f0f7d