Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Dave Mason <dmason@sarg.Ryerson.CA>
To: caml-list@inria.fr
Subject: Re: [Caml-list] lisp -> ocaml
Date: Sun, 27 May 2001 17:24:58 -0400	[thread overview]
Message-ID: <200105272124.RAA11063@sarg.Ryerson.CA> (raw)
In-Reply-To: Your message of "Sun, 27 May 2001 15:01:19 +0200." <20010527150119.A8468@pauillac.inria.fr>

>>>>> On Sun, 27 May 2001 15:01:19 +0200, Xavier Leroy <Xavier.Leroy@inria.fr> said:

> With some trickery, you can even implement atoms with property
> lists, type safe but dynamically typed of course.  See the code
> below.  (Warning: the implementation of properties is a real
> mind-twister, using a folklore trick to implement dynamics using
> references and functions that I learnt from Daniel de Rauglaudre,
> although it's been reinvented independently quite a number of
> times.)

Very cute!  But not threadsafe among threads that use the same set of
attributes (unless I missed something).  I point this out simply as a
warning, not because I think it invalidates the (neat) trick.

../Dave
-------------------
To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr


  parent reply	other threads:[~2001-05-28 17:01 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-22 16:33 Miles Egan
2001-05-22 16:52 ` Markus Mottl
2001-05-22 17:09 ` Brian Rogoff
2001-05-22 18:27 ` Remi VANICAT
2001-05-22 17:12   ` Miles Egan
2001-05-22 18:26     ` Chris Hecker
2001-05-27 13:01 ` Xavier Leroy
2001-05-27 14:43   ` Miles Egan
2001-05-27 21:24   ` Dave Mason [this message]
2001-05-28 17:10     ` William Chesters
2001-05-28  0:06   ` Chris Hecker
2001-05-28 13:32     ` Xavier Leroy
2001-05-28 19:02       ` Chris Hecker

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=200105272124.RAA11063@sarg.Ryerson.CA \
    --to=dmason@sarg.ryerson.ca \
    --cc=caml-list@inria.fr \
    /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