<?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/4802f10029290a05949a2114919ab9d6"
  from="Kontra, Gergely &lt;kgergely@m...&gt;"
  author="Kontra, Gergely"
  date="2002-07-22T09:26:37"
  subject="[Caml-list] accessor methods"
  prev="2002/07/8104a335aa6350ff0824ad2247526070"
  next="2002/07/b7841084f82ad9e51765e3357d07ea48"
  prev-thread="2002/07/6c69fdd2080fc98e6b36873e19de895c"
  next-thread="2002/07/48319aef09c8a06bcd3d7cc8da36c192"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] accessor methods">
<msg 
  url="2002/07/4802f10029290a05949a2114919ab9d6"
  from="Kontra, Gergely &lt;kgergely@m...&gt;"
  author="Kontra, Gergely"
  date="2002-07-22T09:26:37"
  subject="[Caml-list] accessor methods">
</msg>
</thread>

<contents>
Hi!

Is there an abbreviation for reader, writer method?

In Ruby you can provide a setter and getter method with a single
statement. Will ocaml have something like that? (This also can increase
the "lines of code" ratio)

Gergo

+-[Kontra, Gergely @ Budapest University of Technology and Economics]-+
|         Email: kgergely@mcl.hu,  kgergely@turul.eet.bme.hu          |
|  URL:   turul.eet.bme.hu/~kgergely    Mobile: (+36 20) 356 9656     |
+-------"Olyan langesz vagyok, hogy poroltoval kellene jarnom!"-------+
.
Magyar php mirror es magyar php dokumentacio: http://hu.php.net



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

