[Haskell-cafe] Re: Not in scope: type constructor or class

Joel Reymont joelr1 at gmail.com
Sat Jul 1 23:39:44 EDT 2006

I should have opened my eyes real wide. This does the trick and makes  
TH look for HOC.Arguments.ObjCArgument which is proper.

thModulePrefix mod id = "HOC." ++ mod ++ "." ++ id

On Jul 1, 2006, at 10:33 PM, Joel Reymont wrote:

> Folks,
> I'm getting this error:
> ./HOC/StdArgumentTypes.hs:1:0:
>     Not in scope: type constructor or class  
> `HOC.Arguments:ObjCArgument'
> But if you look through the output below you will see that  
> HOC.Arguments is being loaded by ghc. I assume that's what the  
> skipping of HOC.Arguments means.


More information about the Haskell-Cafe mailing list