From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14148 invoked by alias); 15 Jul 2003 18:57:27 -0000 Mailing-List: contact cgen-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cgen-owner@sources.redhat.com Received: (qmail 14141 invoked from network); 15 Jul 2003 18:57:26 -0000 Received: from unknown (HELO neon-gw.transmeta.com) (63.209.4.196) by sources.redhat.com with SMTP; 15 Jul 2003 18:57:26 -0000 Received: (from root@localhost) by neon-gw.transmeta.com (8.9.3/8.9.3) id LAA00606 for ; Tue, 15 Jul 2003 11:57:22 -0700 Received: from mailhost.transmeta.com(10.1.1.15) by neon-gw.transmeta.com via smap (V2.1) id xma000577; Tue, 15 Jul 03 11:57:16 -0700 Received: from casey.transmeta.com (casey.transmeta.com [10.10.25.22]) by deepthought.transmeta.com (8.11.6/8.11.6) with ESMTP id h6FIvJF15640 for ; Tue, 15 Jul 2003 11:57:19 -0700 (PDT) Received: (from dje@localhost) by casey.transmeta.com (8.9.3/8.7.3) id LAA20731; Tue, 15 Jul 2003 11:57:19 -0700 Date: Tue, 15 Jul 2003 18:57:00 -0000 Message-Id: <200307151857.LAA20731@casey.transmeta.com> From: Doug Evans To: cgen@sources.redhat.com Subject: guile 1.6 conversion X-SW-Source: 2003-q3/txt/msg00008.txt.bz2 The biggest task in converting to guile 1.6 is handling the stricter type checking on string operations. (string-append "a" 'b) is ok in guile 1.[34], but not guile 1.6. It's not portable scheme so we shouldn't do that anyway, but the simplicity of less stringent type checking in this particular situation is compelling. We could go through all of cgen and insert the appropriate conversions (symbol->string, etc.) but while it may the a correct thing to do, it's rather cumbersome and the result isn't easy to maintain. I propose a different solution. [No claim is made that these are the only solutions. Other solutions are easily dreamt up at the speed of thought. :-)] Let's keep the notion of being able to freely pass symbols to a "string-append"-like function, but just give it a different name like strsym-append or some such. There a handful of other functions involved but you get the idea.