<?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="2005/05/dd9819d3a2a504a8a319330b6d40b766"
  from="Julien Verlaguet &lt;Julien.Verlaguet@p...&gt;"
  author="Julien Verlaguet"
  date="2005-05-13T13:34:24"
  subject="question on exceptions"
  prev="2005/05/e4fe7b78500c76e96b60200d4b212c11"
  next="2005/05/4c6f9679e2048c3a128f2fd42dedaafb"
  next-in-thread="2005/05/d2a9913d187b0e1218647ef4adfeeb96"
  prev-thread="2005/05/6fb08219a82c0e404d154a7ba1b64914"
  next-thread="2005/05/4c6f9679e2048c3a128f2fd42dedaafb"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="question on exceptions">
<msg 
  url="2005/05/dd9819d3a2a504a8a319330b6d40b766"
  from="Julien Verlaguet &lt;Julien.Verlaguet@p...&gt;"
  author="Julien Verlaguet"
  date="2005-05-13T13:34:24"
  subject="question on exceptions">
<msg 
  url="2005/05/d2a9913d187b0e1218647ef4adfeeb96"
  from="Johann Spies &lt;jspies@s...&gt;"
  author="Johann Spies"
  date="2005-05-16T08:43:13"
  subject="Re: [Caml-list] question on exceptions">
</msg>
</msg>
</thread>

<contents>
I have the following peace of code

exception E;;
let x=E;;
exception E;;

I don't understand why the two following things are not equivalent :

# x=E;;
- : bool = true

# match x with
   | E -&gt; true
   | _ -&gt; false;;
- : bool = false

Is this normal ?

J

</contents>

</message>

