| Type | Wish | Status | tested | Date | 20-Oct-2010 11:44 |
|---|---|---|---|---|---|
| Version | alpha 99 | Category | Mezzanine | Submitted by | BrianH |
| Platform | All | Severity | minor | Priority | high |
| Summary | MODULE function unbinding, and /mixin option |
|---|---|
| Description |
Two features are missing to make inline modules act like script modules: - Having undefined words be unbound, for safety and debugging. - Incorporating the words exported by private modules (mixins). These are both critical, and both can be done by the code below. |
| Example code |
module: func [ "Creates a module. Spec and body modified." spec [block!] "The header block of the module" body [block!] "The body block of the module" /mixin "Mix in words from other modules" words [object!] "Words collected into an object" ][ make module! unbind/deep reduce pick [[spec body] [spec body words]] not mixin ] |
| Assigned to | n/a | Fixed in | alpha 108 | Last Update | 20-Oct-2010 11:44 |
|---|
| Date | User | Field | Action | Change |
|---|---|---|---|---|
| 20-Oct-2010 11:44 | BrianH | Description | Modified | - |
| 20-Oct-2010 11:44 | BrianH | Code | Modified | - |
| 20-Oct-2010 11:44 | BrianH | Fixedin | Modified | => alpha 108 |
| 20-Oct-2010 11:44 | BrianH | Status | Modified | submitted => tested |
| 20-Oct-2010 11:44 | BrianH | Ticket | Added | - |