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

cc


    

changetime

2012-10-05 06:38:42

component

WG1 - Core

description

Should we allow `=>` in `case` clauses (including the `else` clause)?  This allows you to pass the item actually matched to a procedure, analogous to the use of `=>` in `cond` clauses, which passes the non-`#f` value to a procedure.

Example (from [http://srfi.schemers.org/srfi-87/srfi-87.html SRFI 87]):

{{{
(case (get-symbol)
  ((true) #t)
  ((false) #f)
  (else => (lambda (x) x)))
}}}

This maps `true` to `#t`, `false` to `#f`, and leaves everything else alone.

id

88

keywords


    

milestone


    

owner

alexshinn

priority

major

reporter

cowan

resolution

fixed

severity


    

status

closed

summary

SRFI 87: => in CASE

time

2010-11-15 04:40:37

type

defect

Changes

Change at time 2012-10-05 06:38:42

author

cowan

field

comment

newvalue


    

oldvalue

6

raw-time

1349393922057240

ticket

88

time

2012-10-05 06:38:42

Change at time 2012-10-05 06:38:42

author

cowan

field

resolution

newvalue

fixed

oldvalue


    

raw-time

1349393922057240

ticket

88

time

2012-10-05 06:38:42

Change at time 2012-10-05 06:38:42

author

cowan

field

status

newvalue

closed

oldvalue

writing

raw-time

1349393922057240

ticket

88

time

2012-10-05 06:38:42

Change at time 2011-03-06 00:09:15

author

alexshinn

field

comment

newvalue


    

oldvalue

5

raw-time

1299341355000000

ticket

88

time

2011-03-06 00:09:15

Change at time 2011-03-06 00:09:15

author

alexshinn

field

owner

newvalue

alexshinn

oldvalue


    

raw-time

1299341355000000

ticket

88

time

2011-03-06 00:09:15

Change at time 2011-03-06 00:09:15

author

alexshinn

field

status

newvalue

writing

oldvalue

decided

raw-time

1299341355000000

ticket

88

time

2011-03-06 00:09:15

Change at time 2011-01-29 11:59:11

author

alexshinn

field

comment

newvalue


    

oldvalue

4

raw-time

1296273551000000

ticket

88

time

2011-01-29 11:59:11

Change at time 2011-01-29 11:59:11

author

alexshinn

field

status

newvalue

decided

oldvalue

assigned

raw-time

1296273551000000

ticket

88

time

2011-01-29 11:59:11

Change at time 2011-01-29 11:59:03

author

alexshinn

field

comment

newvalue


    

oldvalue

3

raw-time

1296273543000000

ticket

88

time

2011-01-29 11:59:03

Change at time 2011-01-29 11:59:03

author

alexshinn

field

owner

newvalue


    

oldvalue

alexshinn

raw-time

1296273543000000

ticket

88

time

2011-01-29 11:59:03

Change at time 2011-01-29 11:59:03

author

alexshinn

field

status

newvalue

assigned

oldvalue

reopened

raw-time

1296273543000000

ticket

88

time

2011-01-29 11:59:03

Change at time 2011-01-29 11:58:50

author

alexshinn

field

comment

newvalue


    

oldvalue

2

raw-time

1296273530000000

ticket

88

time

2011-01-29 11:58:50

Change at time 2011-01-29 11:58:50

author

alexshinn

field

resolution

newvalue


    

oldvalue

fixed

raw-time

1296273530000000

ticket

88

time

2011-01-29 11:58:50

Change at time 2011-01-29 11:58:50

author

alexshinn

field

status

newvalue

reopened

oldvalue

closed

raw-time

1296273530000000

ticket

88

time

2011-01-29 11:58:50

Change at time 2011-01-24 06:48:02

author

cowan

field

comment

newvalue

WG1 voted to accept this.

oldvalue

1

raw-time

1295822882000000

ticket

88

time

2011-01-24 06:48:02

Change at time 2011-01-24 06:48:02

author

cowan

field

resolution

newvalue

fixed

oldvalue


    

raw-time

1295822882000000

ticket

88

time

2011-01-24 06:48:02

Change at time 2011-01-24 06:48:02

author

cowan

field

status

newvalue

closed

oldvalue

new

raw-time

1295822882000000

ticket

88

time

2011-01-24 06:48:02