[Top][All Lists]

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

[Bug-mit-scheme] [bug #21134] (values 'foo) does not return foo

From: Abdulaziz Ghuloum
Subject: [Bug-mit-scheme] [bug #21134] (values 'foo) does not return foo
Date: Sat, 22 Sep 2007 07:06:46 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en) AppleWebKit/522.11.1 (KHTML, like Gecko) Version/3.0.3 Safari/522.12.1


                 Summary: (values 'foo) does not return foo
                 Project: MIT/GNU Scheme
            Submitted by: aghuloum
            Submitted on: Saturday 09/22/2007 at 07:06
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect behavior
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any



Instead, values returns a closure:

MIT/GNU Scheme running under MacOSX
Image saved on Saturday June 23, 2007 at 8:26:50 PM
  Release 7.7.90.+ || Microcode 15.1 || Runtime 15.7

1 ]=> (values 'foo)

;Value 1: #[compiled-closure 1 ("global" #xd) #x5e #x2726de #x4cd298]

A related bug is in call-with-values, when the producer returns a value
(without calling values):

1 ]=> (call-with-values (lambda () 1) list)

;The object 1 is not applicable.
;To continue, call RESTART with an option number:
; (RESTART 2) => Specify a procedure to use in its place.
; (RESTART 1) => Return to read-eval-print level 1.



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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