put

{-# OPTIONS_GHC -fglasgow-exts #-}

at the the top of the file that complains.




Jim Stuttard <jim.stuttard@talktalk.net>
Sent by: haskell-cafe-bounces@haskell.org

11/28/2007 08:06 AM
Please respond to
jim.stuttard@talktalk.net

To
Haskell-Cafe@haskell.org
cc
Subject
[Haskell-cafe] RFI: HDBC-1.1.3 build error





ubuntu gutsy
ghc-6.8.1
HDBC-1.1.3$ runghc Setup.lhs build
Preprocessing library HDBC-1.1.3...
Building HDBC-1.1.3...
[3 of 6] Compiling Database.HDBC.Types ( Database/HDBC/Types.hs,
dist/build/Database/HDBC/Types.o )

Database/HDBC/Types.hs:208:0:
   Illegal polymorphic or qualified type: forall conn.
                                          (IConnection conn) =>
                                          conn -> b
   In the type signature for `withWConn':
     withWConn :: forall b.
                  ConnWrapper -> (forall conn. (IConnection conn) =>
conn -> b) -> b

TIA
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


---

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.