Quoth Henning Thielemann, nevermore, > > On Mon, 19 Mar 2007, Fawzi Mohamed wrote: > > > > A practice I've seen a lot in small- to mid-sized programs is to have > > > a Types module that contains definitions of the types used in the > > > program. > > > > ok I will think about it > > I'd avoid that and suggest a more decentralized design, where each module > contributes one main type and according functions.
That sounds like a kind of stateless object-oriented approach. Interesting. I probably do something like that but have never really formalised my thoughts on the matter. Nice one! -- Dougal Stanton _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe