From alfonso.acosta at gmail.com Mon Dec 31 12:33:59 2007 From: alfonso.acosta at gmail.com (Alfonso Acosta) Date: Mon Dec 31 12:28:03 2007 Subject: [Template-haskell] mutually recursive modules and template haskell Message-ID: <6a7c66fc0712310933n6fe32f6fy79e98efba7d6b23d@mail.gmail.com> Hi, I recently reopened an old bug related to TH and mutually recursive modules. http://hackage.haskell.org/trac/ghc/ticket/1012 Sorry to repost about the bug in this list but the is being a major blocker for me. It seems that "ghc --make" could do better when figuring out the build dependencies when mutually recursive modules and TH are used in the same set of modules. Could someone please confirm if I really ran into a bug? A workaround for me would providing an specific compilation order (sorry if this is offtopic). I'm using cabal, I tried using Setup makefile to avoid the bug but it didn't work for me (the makefile approach doesn't seem to regard the modules included in "other-modules"). Any pointer would be welcome. Cheers, Fons