<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/01/f37d898ed760057b2a30d07937bc9aae"
  from="Mattias Waldau &lt;mattias.waldau@a...&gt;"
  author="Mattias Waldau"
  date="2003-01-31T10:33:46"
  subject="RE: [Caml-list] @, List.append, and tail recursion"
  prev="2003/01/990c4428bda2b98ae593b0cb50feb144"
  next="2003/01/5ef42def11e5adc1e52c1ccc74ec1d0b"
  prev-in-thread="2003/01/018ac7ba03a5d6d873c847f8d803a969"
  prev-thread="2003/01/ca206608ecf5956dd3d853c07789a29d"
  next-thread="2003/01/5c86d82d713130bc02c3598ca34b3ae0"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="RE: [Caml-list] @, List.append, and tail recursion">
<msg 
  url="2003/01/66af9c604b2e1cbf5540394e5080e697"
  from="Andrew Kennedy &lt;akenn@m...&gt;"
  author="Andrew Kennedy"
  date="2003-01-24T15:35:08"
  subject="RE: [Caml-list] @, List.append, and tail recursion">
<msg 
  url="2003/01/624b5af3263b83ed919ac074b95954f7"
  from="brogoff@s..."
  author="brogoff@s..."
  date="2003-01-30T01:44:30"
  subject="RE: [Caml-list] @, List.append, and tail recursion">
<msg 
  url="2003/01/592b98fe8dedf13711d78616753b71af"
  from="Christophe Raffalli &lt;Christophe.Raffalli@u...&gt;"
  author="Christophe Raffalli"
  date="2003-01-31T09:34:53"
  subject="Re: [Caml-list] @, List.append, and tail recursion">
<msg 
  url="2003/01/018ac7ba03a5d6d873c847f8d803a969"
  from="Brian Hurt &lt;brian.hurt@q...&gt;"
  author="Brian Hurt"
  date="2003-01-30T15:54:23"
  subject="Re: [Caml-list] @, List.append, and tail recursion">
</msg>
<msg 
  url="2003/01/f37d898ed760057b2a30d07937bc9aae"
  from="Mattias Waldau &lt;mattias.waldau@a...&gt;"
  author="Mattias Waldau"
  date="2003-01-31T10:33:46"
  subject="RE: [Caml-list] @, List.append, and tail recursion">
</msg>
</msg>
</msg>
</msg>
</thread>

<contents>
&gt; brogoff@speakeasy.net wrote:
&gt; &gt; Thanks for the reference. I get nailed by this a couple of times a
&gt; &gt; year, and I usually just blame myself for being sloppy and recode 
&gt; &gt; all of my maps, appends, and filters to remove it. I think it would 

I agree that this is recurring problem, I myself often get bit by
List.map.

It makes it very easy to make non-scalable program, works for input less
that 1000 elements, and the when applied to a large problem it fails
without a trace. It is very difficult to find the location of the
problem if you use the native compiler, and most of these programs
doesn't even work using the byte-code compiler.

So one of my coding guidelines is:
- do not use List.map

I would like a prefer other solutions.

/mattias

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners

</contents>

</message>

