<?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/12/44df524459f58d9802aeb42be3e7d400"
  from="Klaus Benecke &lt;benecke@i...&gt;"
  author="Klaus Benecke"
  date="2002-12-13T11:28:31"
  subject="[Caml-list] small problem"
  prev="2002/12/4f5285419bbec1c865398ea6d1f21997"
  next="2002/12/880189f28b91773cde73a547cf10094b"
  prev-thread="2002/12/0fbed2333e93811ef610de52c157b9a6"
  next-thread="2002/12/197f774f49a402a99d05bc8ca55d5c63"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] small problem">
<msg 
  url="2002/12/44df524459f58d9802aeb42be3e7d400"
  from="Klaus Benecke &lt;benecke@i...&gt;"
  author="Klaus Benecke"
  date="2002-12-13T11:28:31"
  subject="[Caml-list] small problem">
</msg>
</thread>

<contents>
How to omit the syntax error in OCAML in CAML it runs.
let hd = function
    [] -&gt; failwith "hd"
  | a::l -&gt; a;;
 Characters 2-3:
    | a::l -&gt; a
    ^
Syntax error
Mit freundlichen Gruessen
Klaus Benecke
e-mail: benecke@iws.cs.uni-magdeburg.de
home-page: http://theo.cs.uni-magdeburg.de/benecke.html
-------------------
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>

