From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 31AAABC88 for ; Thu, 10 Feb 2005 21:55:11 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j1AKtA5K002520 for ; Thu, 10 Feb 2005 21:55:10 +0100 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id VAA02358 for ; Thu, 10 Feb 2005 21:55:10 +0100 (MET) Received: from qrnik.knm.org.pl (paf87.warszawa.sdi.tpnet.pl [217.96.225.87]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j1AKt9sX025848 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Thu, 10 Feb 2005 21:55:10 +0100 Received: from qrczak by qrnik.knm.org.pl with local (Exim 3.36 #1) id 1CzLLA-0005XZ-00 for caml-list@inria.fr; Thu, 10 Feb 2005 21:55:08 +0100 To: caml-list@inria.fr Subject: Re: [Caml-list] Newbe question: Strings <-> char lists X-Face: OW>RV&gN+&b-aiNY|U)f=S%w+/rK!);f>/W9IXg})]&F>ht.1Up8@04+_!gOp(_/l_-+E^. 2\vI)1=D,%HWiq)r(M/V~dr^5T^KF/[w5YZ4<0Sus3+O>l3uA/&W_21m?.s,Po8{pb0@ References: <200502101919.j1AJJcWC011340@concorde.inria.fr> From: "Marcin 'Qrczak' Kowalczyk" Mail-Followup-To: caml-list@inria.fr Date: Thu, 10 Feb 2005 21:55:08 +0100 In-Reply-To: <200502101919.j1AJJcWC011340@concorde.inria.fr> (Juancarlo =?iso-8859-15?q?A=F1ez's?= message of "Thu, 10 Feb 2005 15:19:13 -0400") Message-ID: <87k6pg5e4z.fsf@qrnik.zagroda> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable Sender: "Marcin 'Qrczak' Kowalczyk" X-Miltered: at nez-perce with ID 420BCA2E.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 420BCA2D.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 char:01 haskell:01 implements:01 haskell:01 lazy:01 non-standard:01 writes:01 strings:01 strings:01 efficient:06 i'm:08 yet:09 actually:10 question:11 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.2 X-Spam-Level: Juancarlo A=F1ez writes: > | As far as I now, Haskell actually implements strings as=20 > | lists of characters,=20 > > I'm pretty sure that Haskell lets you *treat* strings as list of > characters, yet provides an efficient implementation of strings > underneath. No, it's really a lazy list of characters underneath. There are non-standard extensions, packed strings, but they a separate type. --=20 __("< Marcin Kowalczyk \__/ qrczak@knm.org.pl ^^ http://qrnik.knm.org.pl/~qrczak/