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

cc


    

changetime

2013-07-07 03:20:44

component

WG1 - Core

description

Jörg F. Wittenberger posted to [http://lists.nongnu.org/archive/html/chicken-hackers/2013-05/msg00039.html chicken-hackers]:

  I really don't like that the draft still leaves it undefined what the result of `(force <promise>`) is, if the promise returns multiple values.  `Force` [and] `delay` are not that complicated to implement.  The way the R7RS draft is now, one would still need to duplicate the definition in applications if one wanted to be sure that multiple values are ok.

Because multiple values are not first class, supporting this requires collecting the multiple values in a data structure such as a list, remembering that they are not really a list but multiple values, and then returning them as multiple values.  You get no space benefit that way, and might as well put a call to `call-with-values` inside the `delay`.

id

532

keywords


    

milestone


    

owner

alexshinn

priority

major

reporter

cowan

resolution

wontfix

severity


    

status

closed

summary

Delaying multiple values shouldn't be undefined

time

2013-05-13 18:17:14

type

defect

Changes

Change at time 2013-07-07 03:20:44

author

cowan

field

comment

newvalue

The WG decided by unanimous consent to take no action on this ticket.

oldvalue

1

raw-time

1373142044410382

ticket

532

time

2013-07-07 03:20:44

Change at time 2013-07-07 03:20:44

author

cowan

field

resolution

newvalue

wontfix

oldvalue


    

raw-time

1373142044410382

ticket

532

time

2013-07-07 03:20:44

Change at time 2013-07-07 03:20:44

author

cowan

field

status

newvalue

closed

oldvalue

new

raw-time

1373142044410382

ticket

532

time

2013-07-07 03:20:44