English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] Lazy.Value
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-05-28 (12:46)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: [Caml-list] Lazy.Value
I may say nonsense, but is it possible to generalize things like:
   ref (Lazy.Value [])

It would help me to have 'a streams (for the empty one) without an
horrible hack in the present implementation which even create bugs in
some circumstances.

I am writing a library (and a syntax) for functional streams and
parsers in Camlp4. I did not put my hack in that version, but the
result is that the empty one is of type '_a Fstream.t.

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