chicken-janitors
[Top][All Lists]
Advanced

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

Re: [Chicken-janitors] #1309: CHICKEN allows misplaced internal defines,


From: Chicken Trac
Subject: Re: [Chicken-janitors] #1309: CHICKEN allows misplaced internal defines, which live on outside the body
Date: Tue, 02 Aug 2016 18:22:26 -0000

#1309: CHICKEN allows misplaced internal defines, which live on outside 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
-----------------------------+--------------------------------

Comment (by sjamaan):

 In other words, the following program which uses only standard R5RS
 constructs is invalid according to R5RS:

 {{{
 (define lala 2)
 (let ()
    (begin
      (set! lala 1)
      (begin (define (x) 1) 2)))
 (print x) ; => #<procedure (x)> in CHICKEN and Gauche, error in other
 Schemes
 }}}

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