Re: How to get list of instances of a given class?

Bulat Ziganshin <[email protected]> Tue, 13 Dec 2005 19:44:47 +0300
Newsgroups gmane.comp.lang.haskell.template
Message-ID <[email protected]>
Hello Dimitry,

Tuesday, December 13, 2005, 5:37:49 PM, you wrote:

DG> The documentation (neither for 6.2.2 nor for the latest) says nothing
DG> about what is in [Dec] for a class. Are instances of the class known
DG> at the moment of slplicing contained there?

yopu must read not documentation, but the sources of following modules

import Language.Haskell.TH.Syntax
import Language.Haskell.TH.Lib
import Language.Haskell.TH.Ppr

it is the only way now to create any TH program :)


-- 
Best regards,
 Bulat                            mailto:[email protected]