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 #161

cc


    

changetime

2012-10-05 12:12:38

component

WG1 - Core

description

It would be useful to allow modules as an argument to eval
in addition to environments.  This could be done with a special
syntax, or just the module name as a list.

id

161

keywords


    

milestone


    

owner

cowan

priority

major

reporter

alexshinn

resolution

fixed

severity


    

status

closed

summary

module argument to eval

time

2011-04-24 09:45:20

type

defect

Changes

Change at time 2012-10-05 12:12:38

author

cowan

field

comment

newvalue


    

oldvalue

5

raw-time

1349413958684981

ticket

161

time

2012-10-05 12:12:38

Change at time 2012-10-05 12:12:38

author

cowan

field

resolution

newvalue

fixed

oldvalue


    

raw-time

1349413958684981

ticket

161

time

2012-10-05 12:12:38

Change at time 2012-10-05 12:12:38

author

cowan

field

status

newvalue

closed

oldvalue

writing

raw-time

1349413958684981

ticket

161

time

2012-10-05 12:12:38

Change at time 2011-07-11 10:42:19

author

cowan

field

comment

newvalue


    

oldvalue

4

raw-time

1310355739000000

ticket

161

time

2011-07-11 10:42:19

Change at time 2011-07-11 10:42:19

author

cowan

field

owner

newvalue

cowan

oldvalue

alexshinn

raw-time

1310355739000000

ticket

161

time

2011-07-11 10:42:19

Change at time 2011-07-11 10:42:19

author

cowan

field

status

newvalue

writing

oldvalue

decided

raw-time

1310355739000000

ticket

161

time

2011-07-11 10:42:19

Change at time 2011-07-10 18:16:56

author

alexshinn

field

comment

newvalue

We voted to add the R6RS procedure.

oldvalue

3

raw-time

1310296616000000

ticket

161

time

2011-07-10 18:16:56

Change at time 2011-07-10 18:16:56

author

alexshinn

field

resolution

newvalue


    

oldvalue


    

raw-time

1310296616000000

ticket

161

time

2011-07-10 18:16:56

Change at time 2011-07-10 18:16:56

author

alexshinn

field

status

newvalue

decided

oldvalue

new

raw-time

1310296616000000

ticket

161

time

2011-07-10 18:16:56

Change at time 2011-04-30 00:33:34

author

arcfide

field

comment

newvalue

I also think that the R6RS environment procedure is extremely useful.

oldvalue

2

raw-time

1304098414000000

ticket

161

time

2011-04-30 00:33:34

Change at time 2011-04-24 14:08:21

author

cowan

field

comment

newvalue

R6RS has a procedure `environment` which accepts multiple arguments which look like import specs, and returns an environment suitable for passing to `eval` that contains just the imported names. So `(environment)` is equivalent to R5RS `(empty-environment)`, (environment '(scheme base)) returns a base environment, and so on. That makes a lot of sense to me.

oldvalue

1

raw-time

1303628901000000

ticket

161

time

2011-04-24 14:08:21