chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-janitors] #1309: record types defined inside a body lives b


From: Chicken Trac
Subject: Re: [Chicken-janitors] #1309: record types defined inside a body lives beyond the body
Date: Tue, 02 Aug 2016 18:20:42 -0000

#1309: record types defined inside a body lives beyond the body
-----------------------------+--------------------------------
  Reporter:  ai-artisan      |      Owner:
      Type:  defect          |     Status:  new
  Priority:  critical        |  Milestone:  5.0
 Component:  core libraries  |    Version:  4.11.0
Resolution:                  |   Keywords:  record type define
-----------------------------+--------------------------------
Changes (by sjamaan):

 * milestone:  someday => 5.0


Comment:

 Gauche behaves identically to CHICKEN.  Racket, Guile, Gambit and Scheme48
 give an error that the define is in an expression context (after adding an
 expression after it).

 I guess technically, CHICKEN is correct here (in the sense that R5RS
 undefined behaviour allows this).  It is confusing though, so we may want
 to disallow this.  It's a potentially breaking change, so I think '''if'''
 we decide to change this, we should do so in CHICKEN 5.

--
Ticket URL: <http://bugs.call-cc.org/ticket/1309#comment:6>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]