Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Pierre Weis <Pierre.Weis@inria.fr>
To: skaller@maxtal.com.au (John Max Skaller)
Cc: caml-list@inria.fr
Subject: Re: Return type of procedures?
Date: Thu, 24 Aug 2000 10:49:55 +0200 (MET DST)	[thread overview]
Message-ID: <200008240849.KAA07571@pauillac.inria.fr> (raw)
In-Reply-To: <39A369AD.E640C222@maxtal.com.au> from John Max Skaller at "Aug 23, 100 04:05:33 pm"

> But the other thing you miss is that even in ocaml, environments
> are NOT immutable: there are mutable fields, and thus mutable
> data structures like Hashtbl. The fact is, some things are easier
> to express in a stateful manner than a functional one.

Strictly speaking, environments in Caml ARE immutable: there is no way
to change the binding of an identifier. What can be mutated are
designated sub-parts of values bound to identifiers.

Pierre Weis

INRIA, Projet Cristal, Pierre.Weis@inria.fr, http://cristal.inria.fr/~weis/




  reply	other threads:[~2000-08-24  8:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-21 21:58 David McClain
2000-08-23  6:05 ` John Max Skaller
2000-08-24  8:49   ` Pierre Weis [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-08-22  1:38 Manuel Fahndrich
2000-08-21 21:59 Manuel Fahndrich
2000-08-22  1:17 ` John Max Skaller
2000-08-21 17:17 John Max Skaller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200008240849.KAA07571@pauillac.inria.fr \
    --to=pierre.weis@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=skaller@maxtal.com.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox