This site is a static rendering of the Trac instance that was used by R7RS-WG1 for its work on R7RS-small (PDF), which was ratified in 2013. For more information, see Home.

Source for ticket #144

cc


    

changetime

2012-11-29 02:11:18

component

WG1 - Core

description

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>)`.

id

144

keywords


    

milestone


    

owner

alexshinn

priority

major

reporter

cowan

resolution

wontfix

severity


    

status

closed

summary

strip prefix on import

time

2011-03-01 07:04:15

type

defect

Changes

Change at time 2012-11-29 02:11:18

author

cowan

field

comment

newvalue


    

oldvalue

5

raw-time

1354126278044904

ticket

144

time

2012-11-29 02:11:18

Change at time 2012-11-29 02:11:18

author

cowan

field

resolution

newvalue

wontfix

oldvalue


    

raw-time

1354126278044904

ticket

144

time

2012-11-29 02:11:18

Change at time 2012-11-29 02:11:18

author

cowan

field

status

newvalue

closed

oldvalue

reopened

raw-time

1354126278044904

ticket

144

time

2012-11-29 02:11:18

Change at time 2012-11-29 02:10:59

author

cowan

field

comment

newvalue


    

oldvalue

4

raw-time

1354126259552409

ticket

144

time

2012-11-29 02:10:59

Change at time 2012-11-29 02:10:59

author

cowan

field

resolution

newvalue


    

oldvalue

fixed

raw-time

1354126259552409

ticket

144

time

2012-11-29 02:10:59

Change at time 2012-11-29 02:10:59

author

cowan

field

status

newvalue

reopened

oldvalue

closed

raw-time

1354126259552409

ticket

144

time

2012-11-29 02:10:59

Change at time 2011-07-10 18:07:40

author

alexshinn

field

comment

newvalue

We voted no.

oldvalue

3

raw-time

1310296060000000

ticket

144

time

2011-07-10 18:07:40

Change at time 2011-07-10 18:07:40

author

alexshinn

field

resolution

newvalue

fixed

oldvalue


    

raw-time

1310296060000000

ticket

144

time

2011-07-10 18:07:40

Change at time 2011-07-10 18:07:40

author

alexshinn

field

status

newvalue

closed

oldvalue

new

raw-time

1310296060000000

ticket

144

time

2011-07-10 18:07:40

Change at time 2011-03-01 13:56:15

author

cowan

field

comment

newvalue

Technically, nothing is ''necessary'' except `rename` and either `only` or `exclude`.  I'm fine with `drop` instead of `strip`.

oldvalue

2

raw-time

1298958975000000

ticket

144

time

2011-03-01 13:56:15

Change at time 2011-03-01 13:02:37

author

arcfide

field

comment

newvalue

I agree that this is useful, though I wonder if we should consider it necessary for WG1? I would go for `drop-prefix` instead of strip, since I think is sounds less aggressive, but other than that either WG2, at least, or WG1, maybe, should have this.

oldvalue

1

raw-time

1298955757000000

ticket

144

time

2011-03-01 13:02:37