RE: [Haskell] Read Instances for Data.Map and Data.Set

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
7146
Age (days ago)
7146
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Peyton-Jones