Version française
Home     About     Download     Resources     Contact us    
Browse thread
Re: Immutable arrays (modest Feature request)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Mark Hayden <hayden@p...>
Subject: Re: Immutable arrays (modest Feature request)

You can write your own immutable arrays in Ocaml.
See for instance util/arrayf.{ml,mli} in Ensemble,
which is an implementation of functional arrays.

  http://www.cs.cornell.edu/Info/Projects/Ensemble/

Of course, there is no syntactic sugar for the
constructors and Array.get operation.

--Mark

Date: Thu, 13 Jan 2000 20:45:01 +0100
To:  caml-list@inria.fr
From:  Juergen Pfitzenmaier <pfitzen@informatik.uni-tuebingen.de>
Subject:  Re: Immutable arrays (modest Feature request)
Delivery-Date:  Fri Jan 14 00:00:39 2000
>
>I too would like to see immutable strings/arrays if they are faster than
>their mutable siblings.
>
>pfitzen
>