<?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="2002/07/e279811039f13ecb6fc02cdc51f40b4f"
  from="Tomasz Zielonka &lt;zielony@c...&gt;"
  author="Tomasz Zielonka"
  date="2002-07-13T12:53:56"
  subject="Re: [Caml-list] Removing an element from a list"
  prev="2002/07/2883b78ed3d95e9729ba61b17cb910fc"
  next="2002/07/159ef0ccc84f7c657489db370903e327"
  prev-in-thread="2002/06/ab914d5980619901ef86ec37efa14e0d"
  prev-thread="2002/06/149b8d945d1fa28d581e40f4e70da49b"
  next-thread="2002/06/50bf476e96f83c1a09039d54e2b11424"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] Removing an element from a list">
<msg 
  url="2002/06/2f06726dec7ab299cbcd92b4eb602296"
  from="Vincent Foley &lt;vinfoley@i...&gt;"
  author="Vincent Foley"
  date="2002-06-28T19:39:48"
  subject="[Caml-list] Removing an element from a list">
<msg 
  url="2002/06/fb3e7b775210fcf6245dfba9f2750837"
  from="Paul Steckler &lt;steck@c...&gt;"
  author="Paul Steckler"
  date="2002-06-28T19:53:12"
  subject="RE: [Caml-list] Removing an element from a list">
</msg>
<msg 
  url="2002/06/ab914d5980619901ef86ec37efa14e0d"
  from="YAMAGATA yoriyuki &lt;yoriyuki@m...&gt;"
  author="YAMAGATA yoriyuki"
  date="2002-06-28T20:03:32"
  subject="Re: [Caml-list] Removing an element from a list">
<msg 
  url="2002/07/e279811039f13ecb6fc02cdc51f40b4f"
  from="Tomasz Zielonka &lt;zielony@c...&gt;"
  author="Tomasz Zielonka"
  date="2002-07-13T12:53:56"
  subject="Re: [Caml-list] Removing an element from a list">
</msg>
</msg>
</msg>
</thread>

<contents>
On Sat, Jun 29, 2002 at 05:10:24AM +0900, YAMAGATA yoriyuki wrote:
&gt; List.filter (fun e -&gt; e &lt;&gt; 3) [1; 2; 3; 4; 5]

Or shorter:

List.filter ((&lt;&gt;) 3) [1; 2; 3; 4; 5]

-------------------
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>

