[Haskell] Read Instances for Data.Map and Data.Set
simonpj at microsoft.com
Wed Oct 26 10:44:08 EDT 2005
| > > There is no easy way currently for me to create a
| > > short synonym for the defining module name. e.g.
| > >
| > > import Some.Very.Long.Module.Name as Local
| > I'd prefer such self-imports if they wouldn't need so much effort.
| me too. I have requested it on the list before. they should be
| straightforward to add, the recursive module namespace rules are not
| very complicated at all and just allowing self-import doesn't involve
| anything but tweaking the renamer a bit and a fast fixpoint iteration.
If only it were so easy:
module Foo where
import Foo as Bar
$(some splice stuff)
We don't know what Foo exports until we've run all the splices. Sigh.
More information about the Libraries