[Haskell-cafe] Use of abbreviations in Haskell

Jonathan Cast jonathanccast at fastmail.fm
Fri Jan 2 15:54:45 EST 2009


On Fri, 2009-01-02 at 23:48 +0300, Miguel Mitrofanov wrote:
> >>
> >> module Main where
> >> import qualified QName as Q
> >> import qualified Element as E
> >> ... Q.name ... E.name ...
> >
> > I'm using this pattern of writing code and, so far, I find it very
> > convenient. Yet, the code is likely to be spread across lots of files,
> > which is not always a Good Thing.
> 
> That's a completely different matter. Personally, I think that holding  
> each module in a separate file is not a great idea.

+1

jcc




More information about the Haskell-Cafe mailing list