|
From: | Chicken Scheme |
Subject: | [Chicken-janitors] Re: [Chicken-bugs] #331: Unit utils: Inconsistent behavior of procedures shift! & unshift! |
Date: | Mon, 01 Oct 2007 14:20:39 -0000 |
#331: Unit utils: Inconsistent behavior of procedures shift! & unshift! ----------------------------------------------+----------------------------- Reporter: Jon Strait <address@hidden> | Owner: kon Type: defect | Status: assigned Priority: minor | Component: core libraries Version: 2.7 | Resolution: Keywords: | ----------------------------------------------+----------------------------- Changes (by kon): * status: new => assigned * owner: => kon Comment: I will add them to the misc-extn-list since it has a wrapper macro which handles the empty list issue. The problem is shift is called 'shift!' for a reason - it modifies the storage - but an existing cons cell cannot "become" the empty list; '() is a Chicken immediate value. -- Ticket URL: <http://trac.callcc.org/ticket/331#comment:2> Chicken Scheme <http://www.call-with-current-continuation.org/> The CHICKEN Scheme-to-C compiler
[Prev in Thread] | Current Thread | [Next in Thread] |