[Haskell-cafe] Re: totally confused about Haskell namespace issue conventions

Vasili I. Galchin vigalchin at gmail.com
Sun Jun 7 04:23:26 EDT 2009


let me state another way ....

as far as namespace is concerned what is division between a module's name
and it's associated .cabal with it's Hs-Source-Dirs directive? This is
kinda' absolute vs relative path I think.

Regards,

Vasili

On Sun, Jun 7, 2009 at 2:46 AM, Vasili I. Galchin <vigalchin at gmail.com>wrote:

> let put this subject in another way ... assuming there a coding convention,
> vis-a-vis Haskell namespace, what is the division of responsibility between
> a Haskell module and it's associated .cabal?
>
> Regards,
>
> Vasili
>
> On Sun, Jun 7, 2009 at 2:26 AM, Vasili I. Galchin <vigalchin at gmail.com>wrote:
>
>> Hello,
>>
>>       Should namespace designation be specified in modules or in the
>> .cabal file? Or to put it another way should a relative namespace be
>> specified in a Haskell module and the remaining "top" part be specified in
>> the associated .cabal file? Of course, yes/no answers are probably not
>> sufficient ... i.e. please elaborate.
>>
>> Kind regards, Vasili
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090607/7193d3c6/attachment.html


More information about the Haskell-Cafe mailing list