Scoping in Io
Kurtis Rainbolt-Greene <[email protected]> Wed, 6 Jun 2012 11:00:15 -0500
| Newsgroups | gmane.comp.lang.io |
|---|---|
| Message-ID | <CAMhJPGh5PJ3JTcS0Q3zhUURGgZi_39Zgz+k5ONLHc149KwusDw@mail.gmail.com> |
Alright, so I've got a particularly interesting problem to solve. Lets say I have 3 files: ``` io # haml.io Haml := clone ``` ``` io # sass.io Sass := clone ``` ``` io # coffee.io Coffee := clone ``` Now I create a 4th file: ``` io Compressor := clone ``` Now, with this new file I want to run it under the scope of each of the other 3 files. Basically it would end up with: ``` io Haml Compressor Sass Compressor Coffee Compressor ``` and be 3 distinct prototypes. Anyway to do this? -- Kurtis Rainbolt-Greene, Hacker Difference Engineers, LLC 643 Magazine St. #102 New Orleans, LA 70130