On Fri, Jun 6, 2008 at 8:35 PM, Andrew Coppin
<[EMAIL PROTECTED]> wrote:
>  import Text.ParserCombinators.Parsec as P
>
> Now I only have to write "P.runPaser", which is much shorter.

Or maybe even

> import Text.ParserCombinators.Parsec as Parser

and then `Parser.run'.

Having the module hierarchy be shallower so you don't have to add a
`as' to every import might also help. I think Python does this better
for common modules which have short and sweet name lite `system'.

Cheers,

Johan
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to