Hi Leonel, You might want to try Derive (http://community.haskell.org/~ndm/derive) if DrIFT doesn't work for you. They do roughly the same jobs, but Derive has more output formats (it can be spliced in as Template Haskell, generate #include files, output text etc) more derivations (but not quite overlapping - although both have Typeable), and is fully cabal-friendly on all platforms. Thanks, Neil On Thu, May 6, 2010 at 3:42 PM, Leonel Fonseca <leonelfl@gmail.com> wrote:
Hey, the hint provided by Ben worked like a charm.
I've also tried Ivan suggestions both on my windows and linux installations. DrIFT-cabalized couldn't install at all at windows since I don't use MinGW. So, I ghc'ed --make DrIFT.
Both, windows and linux, refused to complete work with this error: drift: can't find module Control/Monad
Thank you.
{-# LANGUAGE DeriveDataTypeable, StandaloneDeriving #-}
import Data.Typeable import Language.Haskell.TH
deriving instance Typeable1 Q
--
Leonel Fonseca. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe