Aha. I got it. You should compile with -fglasgow-exts option. The
extra type signatures doesn't matter.
On Wed, Aug 20, 2008 at 8:20 AM, Praki Prakash [EMAIL PROTECTED] wrote:
Krasimir - thanks for your reply. I had tried explicit typing but I still
get the same error. I have some code below
This looks like a GHC bug to me. I am pretty sure that this worked
before. Variant is defined like this:
data Variant = forall a . Variant (VarType a) a
data VarType a where
VT_DISPATCH :: VarType (IDispatch ())
From this it clear that val is of type (IDispatch ()) because the
I am a Haskell newbie trying to do COM automation using Haskell. I am using
hscom (Krasimir's implementation of COM automation). I have run into a problem
and need some help.
I have a Variant returned from a COM method invocation. When I print it, it
shows up as below.
Variant VT_DISPATCH