From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.devel Subject: Re: Unicode and Guile Date: Wed, 12 Nov 2003 01:29:29 +0100 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87znf2ig46.fsf@zagadka.ping.de> References: <20031021171534.GA13246@lark> <200310260003.RAA10375@morrowfield.regexps.com> <20031031132525.GB715@lark> <200311032031.MAA19389@morrowfield.regexps.com> <20031106181635.GA9546@lark> <200311111902.LAA25202@morrowfield.regexps.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1068597674 22491 80.91.224.253 (12 Nov 2003 00:41:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 Nov 2003 00:41:14 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Nov 12 01:41:11 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AJj4J-0006LQ-00 for ; Wed, 12 Nov 2003 01:41:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AJjvq-0006x2-05 for guile-devel@m.gmane.org; Tue, 11 Nov 2003 20:36:30 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AJjrl-0002GM-1a for guile-devel@gnu.org; Tue, 11 Nov 2003 20:32:17 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AJjr8-0001m1-IS for guile-devel@gnu.org; Tue, 11 Nov 2003 20:32:09 -0500 Original-Received: from [195.253.8.218] (helo=mail.dokom.net) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AJjqc-0001WD-GT for guile-devel@gnu.org; Tue, 11 Nov 2003 20:31:06 -0500 Original-Received: from dialin.speedway43.dip157.dokom.de ([195.138.43.157] helo=zagadka.ping.de) by mail.dokom.net with smtp (Exim 3.36 #3) id 1AJivh-0002H1-00 for guile-devel@gnu.org; Wed, 12 Nov 2003 01:32:17 +0100 Original-Received: (qmail 15049 invoked by uid 1000); 12 Nov 2003 00:29:29 -0000 Original-To: Tom Lord In-Reply-To: <200311111902.LAA25202@morrowfield.regexps.com> (Tom Lord's message of "Tue, 11 Nov 2003 11:02:55 -0800 (PST)") User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:3000 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:3000 Tom Lord writes: > ~ (grapheme=? g1 g2 [locale]) => > ~ (grapheme ~ (grapheme>? g1 g2 [locale]) > [...] > ~ (grapheme-ci=? g1 g2 [locale]) > ~ (grapheme-ci ~ (grapheme-ci>? g1 g2 [locale]) > > The usual orderings. Is it a good idea to have an ordering among graphemes, or would it be better to only order texts, i.e., to allow for the context of a grapheme to determine the order? > ~ (make-text-marker text index) => What about having _only_ markers and not allow integers as indices? Also, what about making TEXTs unmutable by default and instead let TEXT-REPLACE, etc return a new text object? > The new TEXT? and GRAPHEME? types present a simple and traditional > interface to "conceptual strings" and "conceptual characters". > They make it easy to express simple algorithms simply and without > reference to the internal structure of Unicode. Indeed. > There is no essential difference between a grapheme and a text > object of length 1, and thus the proposal makes GRAPHEME? a > subtype of TYPE. Do we need the concept of grapheme at all, then? > The proposal also makes it possible to pass strings everywhere that > text can be used. I think that's the more interesting direction: > just use text- and grapheme- procedures from now on except where you > _really_ want to refer to octets. Could we make strings/chars go away completely over time? For vectors of octets, there is u8vector? from SRFI-4. -- GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel