`typeof' is not a (visible) method of class `Typeable' ?

11 Nov
2005
11 Nov
'05
12:22 p.m.
Hi All, While I was trying to declare Language.Haskell.TH.Exp as an instance of "Typeable", ghci 6.4 yields this error. It does not allow me to define an instance of "typeof". Does anybody know what should be the right way of doing this? Thanks. -W-M- @ @ | \_/

11 Nov
11 Nov
8:55 p.m.
On Friday 11 November 2005 18:22, WANG Meng wrote:
Hi All,
While I was trying to declare Language.Haskell.TH.Exp as an instance of "Typeable", ghci 6.4 yields this error. It does not allow me to define an instance of "typeof". Does anybody know what should be the right way of doing this? Thanks.
Did you try 'typeOf' (note the capital O)? Ben
7130
Age (days ago)
7131
Last active (days ago)
1 comments
2 participants
participants (2)
-
Benjamin Franksen
-
WANG Meng