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 8E196BC88 for ; Thu, 10 Feb 2005 19:35:18 +0100 (CET) Received: from orsfmr005.jf.intel.com (fmr20.intel.com [134.134.136.19]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j1AIZHRZ019081 for ; Thu, 10 Feb 2005 19:35:18 +0100 Received: from orsfmr101.jf.intel.com (orsfmr101.jf.intel.com [10.7.209.17]) by orsfmr005.jf.intel.com (8.12.10/8.12.10/d: major-outer.mc,v 1.1 2004/09/17 17:50:56 root Exp $) with ESMTP id j1AIZGFi020340; Thu, 10 Feb 2005 18:35:16 GMT Received: from orsmsxvs040.jf.intel.com (orsmsxvs040.jf.intel.com [192.168.65.206]) by orsfmr101.jf.intel.com (8.12.10/8.12.10/d: major-inner.mc,v 1.2 2004/09/17 18:05:01 root Exp $) with SMTP id j1AIYNLo012680; Thu, 10 Feb 2005 18:35:16 GMT Received: from orsmsx331.amr.corp.intel.com ([192.168.65.56]) by orsmsxvs040.jf.intel.com (SAVSMTP 3.1.2.35) with SMTP id M2005021010351617748 ; Thu, 10 Feb 2005 10:35:16 -0800 Received: from orsmsx407.amr.corp.intel.com ([192.168.65.50]) by orsmsx331.amr.corp.intel.com with Microsoft SMTPSVC(6.0.3790.211); Thu, 10 Feb 2005 10:35:15 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: RE: [Caml-list] String to list to string Date: Thu, 10 Feb 2005 10:35:14 -0800 Message-ID: <012676D607FCF54E986746512C22CE7D02DF7754@orsmsx407> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Caml-list] String to list to string Thread-Index: AcUPmuSd07wFi+khR5Sron0lIDNZ+gAAvxhg From: "Harrison, John R" To: "brogoff" , Cc: "Harrison, John R" X-OriginalArrivalTime: 10 Feb 2005 18:35:16.0120 (UTC) FILETIME=[43C61980:01C50F9F] X-Scanned-By: MIMEDefang 2.44 X-Miltered: at nez-perce with ID 420BA965.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 johnh:01 haskell:01 categorical:01 ocaml's:01 mutable:01 strings:01 strings:01 functional:02 ichips:02 string:03 string:03 i'd:05 style:94 quite:06 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.2 X-Spam-Level: | > Haskell treats strings as lists of chars by default. | | Just goes to show you that even really smart people can do some amazingly | dumb things. That's far too categorical; opinions differ on this subject. I'd be quite happy with strings as lists of characters, and I consider OCaml's mutable strings a far worse design error. And yes, I use "implode" and "explode" all the time, because lists of characters are often simple and convenient to deal with in a functional style, and string manipulations are almost never performance-critical in the kind of code I write. John.