lowasser/unpack-funcs — Issue #1: build fail on ghc-7.4
Author: yihuang
Created: 2012-02-04 10:58:00+00:00
State: open

Error message is (I've included -ddump-splice):

```
Control/Monad/Unpack.hs:1:1: Splicing declarations
unpack1Instance ''Array
======>
Control/Monad/Unpack.hs:33:3-25
instance Unpackable (Array a_a1Zr) where
newtype instance UnpackedReaderT (Array a_a1Zr) m_a1Zx a_a1Zy
= UnpackedReaderTCon11_a1Zw GHC.Prim.Array# a_a1Zr -> m_a1Zx a_a1Zy
{-# INLINE runUnpackedReaderT #-}
{-# INLINE unpackedReaderT #-}
runUnpackedReaderT
(UnpackedReaderTCon11_a1Zw func_a1Zz)
(Array arg_a1Zv)
= func_a1Zz arg_a1Zv
unpackedReaderT func_a1Zz
= UnpackedReaderTCon11_a1Zw
(\ arg_a1Zv -> func_a1Zz (Array arg_a1Zv))

Control/Monad/Unpack.hs:33:3:
Illegal repeated type variable `a_a1Zr'
```