
7 Jun
2008
7 Jun
'08
6:31 a.m.
On Fri, Jun 6, 2008 at 8:35 PM, Andrew Coppin
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