> l1 = 2 .*. 3 .*. "abc" .*. (Just 4) .*. HNil
> 
> hlistTest = do
>   print $ 2 .*. HNil
>   print $ (hOccursMany l1 :: [Maybe Int])
> [EMAIL PROTECTED] /pr/haskell/test/HList $

I should have used HCons instead of .*. which is bound to HExtend. (but
also to HCons in another module) ...
Then it compiles fine.
Neverthelesse the message is confusing.

Marc
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to