bennofs/th-lift-instances

instances for standard Num types unneeded

Closed this issue · 0 comments

It seems template-haskell has added Lift instances to the basic number types : http://hackage.haskell.org/package/template-haskell-2.10.0.0/docs/Language-Haskell-TH-Syntax.html#t:Lift

I was just trying to build with template-haskell-2.10.0.0 and got this:

    src/Instances/TH/Lift.hs:83:10:
        Duplicate instance declarations:
          instance Lift Word8 -- Defined at src/Instances/TH/Lift.hs:83:10
          instance Lift Word8 -- Defined in ‘Language.Haskell.TH.Syntax’

    src/Instances/TH/Lift.hs:86:10:
        Duplicate instance declarations:
          instance Lift Word16 -- Defined at src/Instances/TH/Lift.hs:86:10
          instance Lift Word16 -- Defined in ‘Language.Haskell.TH.Syntax’

    src/Instances/TH/Lift.hs:89:10:
        Duplicate instance declarations:
          instance Lift Word32 -- Defined at src/Instances/TH/Lift.hs:89:10
          instance Lift Word32 -- Defined in ‘Language.Haskell.TH.Syntax’

    src/Instances/TH/Lift.hs:92:10:
        Duplicate instance declarations:
          instance Lift Word64 -- Defined at src/Instances/TH/Lift.hs:92:10
          instance Lift Word64 -- Defined in ‘Language.Haskell.TH.Syntax’

    src/Instances/TH/Lift.hs:95:10:
        Duplicate instance declarations:
          instance Lift Int8 -- Defined at src/Instances/TH/Lift.hs:95:10
          instance Lift Int8 -- Defined in ‘Language.Haskell.TH.Syntax’

    src/Instances/TH/Lift.hs:98:10:
        Duplicate instance declarations:
          instance Lift Int16 -- Defined at src/Instances/TH/Lift.hs:98:10
          instance Lift Int16 -- Defined in ‘Language.Haskell.TH.Syntax’

    src/Instances/TH/Lift.hs:101:10:
        Duplicate instance declarations:
          instance Lift Int32 -- Defined at src/Instances/TH/Lift.hs:101:10
          instance Lift Int32 -- Defined in ‘Language.Haskell.TH.Syntax’

    src/Instances/TH/Lift.hs:104:10:
        Duplicate instance declarations:
          instance Lift Int64 -- Defined at src/Instances/TH/Lift.hs:104:10
          instance Lift Int64 -- Defined in ‘Language.Haskell.TH.Syntax’

    src/Instances/TH/Lift.hs:107:10:
        Duplicate instance declarations:
          instance Lift Float -- Defined at src/Instances/TH/Lift.hs:107:10
          instance Lift Float -- Defined in ‘Language.Haskell.TH.Syntax’

    src/Instances/TH/Lift.hs:110:10:
        Duplicate instance declarations:
          instance Lift Double -- Defined at src/Instances/TH/Lift.hs:110:10
          instance Lift Double -- Defined in ‘Language.Haskell.TH.Syntax’