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

cc


    

changetime

2012-07-11 01:36:30

component

WG1 - Core

description

What are we going to do about code like this:

{{{
(define foo (make-parameter 0))
(define bar (delay (foo)))
(parameterize ((foo 1)) (force bar))
}}}

Does this return 0, 1, or either?  All the Schemes in my test suite that support SRFI 39 return 1, so the question is whether we standardize this or permit implementations to return 0.  This would be plausible if the delayed expression were executed on a separate thread starting at delay time, in the manner of futures.

id

396

keywords


    

milestone


    

owner

alexshinn

priority

major

reporter

cowan

resolution

duplicate

severity


    

status

closed

summary

Promises vs. parameters

time

2012-06-07 06:01:45

type

defect

Changes

Change at time 2012-07-11 01:36:30

author

cowan

field

comment

newvalue

Duplicate of #397.

oldvalue

1

raw-time

1341945390910371

ticket

396

time

2012-07-11 01:36:30

Change at time 2012-07-11 01:36:30

author

cowan

field

resolution

newvalue

duplicate

oldvalue


    

raw-time

1341945390910371

ticket

396

time

2012-07-11 01:36:30

Change at time 2012-07-11 01:36:30

author

cowan

field

status

newvalue

closed

oldvalue

new

raw-time

1341945390910371

ticket

396

time

2012-07-11 01:36:30