Hello Henning,
Sunday, October 22, 2006, 5:48:11 PM, you wrote:
> I don't see the benefit of allowing imports anywhere at top-level.
it is useful to move together imports and related code. say:
#if HUGS
import Hugs.Base
addInt = hugsAddInt
#elseif GHC
import GHC.Base
addInt = ghcAddInt
#endif
If imports were allowed everywhere, then would exports be allowed everywhere too, for the same reasons?
Regards,
Brian
_______________________________________________ Haskell-prime mailing list Haskell-prime@haskell.org http://www.haskell.org/mailman/listinfo/haskell-prime