Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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.

-- 
Daniel de RAUGLAUDRE
daniel.de_rauglaudre@inria.fr
http://cristal.inria.fr/~ddr/
-------------------
To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr