
26 Oct
2005
26 Oct
'05
10:44 a.m.
| > > 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. Simon