Ticket #13 (closed defect: wontfix)

Opened 2 years ago

Last modified 16 months ago

[brackets] as (parens)

Reported by: alexshinn Owned by: alexshinn
Priority: major Milestone:
Component: WG1 - Reader Syntax Keywords:
Cc:

Description

R6RS allows [] brackets as identical to parenthesis,
with the condition that they must balance. Do we
accept this extension, propose some other use for
brackets, or leave them unspecified?

Change History

comment:1 Changed 2 years ago by cowan

MzScheme?, Gauche, Gambit, Chicken, Bigloo, SISC, Chez, SSCM, VSCM, and the R6RS Schemes support [+ 1 2] => 3.

MIT, Scheme48/scsh, Guile, Kawa, SCM, Scheme 9, Scheme 7, SXM, Chibi don't. Some throw lexical-syntax errors when they read the [, others complain that [+ is not a defined symbol.

I recommend that brackets mean the same as parens. I recommend against Interlisp-style closing of )s with ] and vice versa.

comment:2 Changed 2 years ago by kumoyuki

ick. but probably livable. Why can't people just use real editors?

comment:3 Changed 2 years ago by arcfide

Used to hate the idea, and now I really like them. YMMV.

comment:4 Changed 19 months ago by cowan

  • Status changed from new to closed
  • Resolution set to fixed

The WG voted to reject this feature.

comment:5 Changed 16 months ago by cowan

  • Status changed from closed to reopened
  • Resolution fixed deleted

comment:6 Changed 16 months ago by cowan

  • Status changed from reopened to closed
  • Resolution set to wontfix
Note: See TracTickets for help on using tickets.