On 29.10 19:56, John Meacham wrote: > Since DrIFT can only understand haskell source code, it can't derive > instances for anything you don't have the original source to. such as > things in the pre-compiled libraries that come with ghc. you will likely > have to write out those instances by hand. > > Another possibility is that you could replicate just the data > declarations by hand, and use DrIFT -r to just spit out the derivations > and put those in a file on their own.
How about using Template Haskell for getting the definition and then giving that to DrIFT? - Einar Karttunen _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe