Well I agree it's not ideal. But from what you say it's working as
advertised.
It's not easy to derive hs-boot from hs, because you probably don't want
to put all the type sigs in the hs file into the hs-boot file, because
that might create yet more dependencies for the hs-boot file. Also a
comm
On Tue, Jun 06, 2006 at 02:39:00PM +0200, Johannes Waldmann wrote:
> As for recursive module imports,
> could you perhaps show an example where this occurs.
> I found that in my code, I can re-arrange things
> so as to remove the cyclic dependency. Best regards,
This is somewhat like this:
-
Simon Peyton-Jones wrote:
I don't know about Cabal, but probably a Cabal-er can reply.
Cabal should work fine with .hs-boot files.
Cheers,
Simon
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/m
As for recursive module imports,
could you perhaps show an example where this occurs.
I found that in my code, I can re-arrange things
so as to remove the cyclic dependency. Best regards,
--
-- Johannes Waldmann -- Tel/Fax (0341) 3076 6479/80 --
http://www.imn.htwk-leipzig.de/~waldmann/ -
Serge D. Mechveliani wrote:
Who knows, please, how usable are currently recursive module imports
in Haskell, in GHC ?
compiling works fine as SPJ pointed out.
Is it essentially more difficult to `make' and support a project
which has 50 modules, and half of all the module pairs import each
o
I don't know about Cabal, but probably a Cabal-er can reply.
Simon
| -Original Message-
| From: [EMAIL PROTECTED]
[mailto:glasgow-haskell-users-
| [EMAIL PROTECTED] On Behalf Of Serge D. Mechveliani
| Sent: 05 June 2006 13:45
| To: glasgow-haskell-users@haskell.org
| Subject: recursive im
Haskell the language allows arbitrary recursive modules.
Implementations differ in how they support this.
GHC's module-at-a-time compilation model means that GHC needs an hs-boot
file to "get started". The manual tries to explain what you can and
can't do. If you follow the rules it works pretty
Serge D. Mechveliani wrote:
People,
Who knows, please, how usable are currently recursive module imports
in Haskell, in GHC ?
Is it essentially more difficult to `make' and support a project
which has 50 modules, and half of all the module pairs import each
other?
Is recursive import in Haskell-