Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] recursive variants
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Terrence Brannon <princepawn@e...>
Subject: [Caml-list] converting a list to a Stream
How does one convert a list to a stream?

# let c = [1; 2; 3 ];;
val c : int list = [1; 2; 3]
# Stream_of_list c;;
Characters 0-16:
Unbound constructor Stream_of_list
# stream_of_list c;;
Characters 0-14:
Unbound value stream_of_list

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