how to break up a large module?

Simon Peyton-Jones simonpj@microsoft.com
Fri, 30 May 2003 14:06:31 +0100


A non-exported function can be inlined, and its definition deleted.  If
there is only one call site, it can be inlined no matter how big it is.

S

| -----Original Message-----
| From: haskell-cafe-admin@haskell.org
[mailto:haskell-cafe-admin@haskell.org] On Behalf Of Jerzy
| Karczmarczuk
| Sent: 30 May 2003 14:04
| To: haskell-cafe@haskell.org
| Subject: Re: how to break up a large module?
|=20
| Simon Marlow wrote:
|=20
| > Be careful about accidental overloading:
| ...
|=20
| > Be careful with exports.  Prune export lists to just those functions
| > which need to be exported.
|=20
|=20
| How a too long export list can slow-down the target program?
|=20
| Jerzy Karczmarczuk
|=20
| _______________________________________________
| Haskell-Cafe mailing list
| Haskell-Cafe@haskell.org
| http://www.haskell.org/mailman/listinfo/haskell-cafe