On May 12, 2009, at 4:22 PM, leppie wrote:
But that will be completely useless! :)
Who said anything about useful! :-)
Are there any situations where something like the above (or a library without defined exports) would of any use?
Someone might think they're clever! See, Ikarus does not invoke the library that does not define a variable used outside, right? But importing that library forces Ikarus to at least expand it, right? Expanding the library evaluates its transformers, right? And what can we put in transformers? Global side effects of course! And since the library's expand-time side effects go into the the same store as the script's run time, voilla, we now have a solution to Ikarus's stubbornness for not invoking these much-needed-to-be-evaluated-for-side-effects-only libraries. Right! This is exactly the kind of thinking that one should not be doing. Supporting scenarios that go along these lines of thinking is also something I don't intend to do, ever. Aziz,,,
