chicken-janitors
[Top][All Lists]
Advanced

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

Re: [Chicken-janitors] #1294: define-record-printer messes with internal


From: Chicken Trac
Subject: Re: [Chicken-janitors] #1294: define-record-printer messes with internal defines
Date: Sun, 29 May 2016 14:20:42 -0000

#1294: define-record-printer messes with internal defines
-----------------------+--------------------
  Reporter:  sjamaan   |      Owner:
      Type:  defect    |     Status:  new
  Priority:  major     |  Milestone:  4.12.0
 Component:  expander  |    Version:  4.11.0
Resolution:            |   Keywords:
-----------------------+--------------------

Comment (by sjamaan):

 The problem here is that {{{define-record-printer}}} isn't a true
 definition.  This code is comparable to the following:

 {{{
 #!scm
 (define (h)
   (define (f)
    (g))

   (display "hello\n")

   (define (g)
    (f)))
 }}}

 Other Schemes will bail out on this, complaining that the definition of
 {{{g}}} is misplaced. CHICKEN accepts it, so the code from the ticket body
 should probably also be accepted.

--
Ticket URL: <http://bugs.call-cc.org/ticket/1294#comment:1>
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]