strip prefix on import
|Reported by:||cowan||Owned by:||alexshinn|
|Component:||WG1 - Core||Keywords:|
I'm thinking that for importing code that defines its external symbols as foo:this, foo:that, and foo:tother, there should be a type of import clause that strips a specified prefix from imported symbols. This is equivalent to renaming on import or renaming on export, but less painful, in the same way as the prefix import clause does.
Specific proposal: (strip-prefix <import-set> <prefix-identifier>).
Change History (5)
comment:3 Changed 6 years ago by alexshinn
- Resolution set to fixed
- Status changed from new to closed
comment:4 Changed 4 years ago by cowan
- Resolution fixed deleted
- Status changed from closed to reopened