[Grace-core] Library Structures

James Noble kjx at ecs.vuw.ac.nz
Tue May 27 03:50:25 PDT 2014


On 27/05/2014, at 12:14 pm, Michael Homer <Michael.Homer at ecs.vuw.ac.nz> wrote:

> Any other file:
>    import "mysetofmodules" as platform
>    // Congratulations, you now have a platform object to do with as you will!
>    platform.fred.etc.etc

I was just about to say "hey this is (yet another) neat trick that I didn't think of before"
(and then repeat the line about basic mechanisms being used in many ways)

and then I though - doesn't this require a circular import?
platform inherits everything else, and everything else inherits platform?

James





More information about the Grace-core mailing list