caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Read-only arrays ?
@ 2007-04-10 21:03 David Teller
  2007-04-10 21:35 ` [Caml-list] " Martin Jambon
  0 siblings, 1 reply; 7+ messages in thread
From: David Teller @ 2007-04-10 21:03 UTC (permalink / raw)
  To: OCaml

	Hi everyone,

  Is there a simple manner of providing read-only/write-only arrays ? I
was hoping that a simple hack using co-variance or contra-variance would
work, but, well, after a few minutes of thought, turns out that it
doesn't.

Cheers,
 David

-- 
David Teller ------------------------------------------
Security of Distributed Systems -----------------------
-- http://www.univ-orleans.fr/lifo/Members/David.Teller
----- Laboratoire d'Informatique Fondamentale d'Orleans


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-04-11  5:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-10 21:03 Read-only arrays ? David Teller
2007-04-10 21:35 ` [Caml-list] " Martin Jambon
2007-04-10 21:57   ` Harrison, John R
2007-04-10 23:12     ` Martin Jambon
2007-04-11  5:08       ` David Teller
2007-04-11  5:31         ` Jacques Garrigue
2007-04-11  5:50           ` Jon Harrop

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).