aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2014-07-24 15:01:06 +0200
committerPierre-Marie Pédrot2014-07-24 15:01:06 +0200
commita435938aa7d1c94c40ddb17627cfaa2fb9f45f0f (patch)
tree33c7a2a7b22ad9bc963f81053c672f3838f25e85 /lib
parentc15571e367cf4d75c9e4aac589170e0213e4fe3b (diff)
Revert "Adding a "is_val" primitive to IStream."
This reverts commit 062d07eb5446c1032fda232b9a09e20e5410dd92.
Diffstat (limited to 'lib')
-rw-r--r--lib/iStream.ml2
-rw-r--r--lib/iStream.mli3
2 files changed, 0 insertions, 5 deletions
diff --git a/lib/iStream.ml b/lib/iStream.ml
index ef69eaf2b0..36b9c43ad0 100644
--- a/lib/iStream.ml
+++ b/lib/iStream.ml
@@ -38,8 +38,6 @@ let is_empty s = match Lazy.force s with
let peek = Lazy.force
-let is_val = Lazy.is_val
-
let rec of_list = function
| [] -> empty
| x :: l -> cons x (of_list l)
diff --git a/lib/iStream.mli b/lib/iStream.mli
index 67e5e0764f..a059570107 100644
--- a/lib/iStream.mli
+++ b/lib/iStream.mli
@@ -42,9 +42,6 @@ val is_empty : 'a t -> bool
val peek : 'a t -> ('a , 'a t) u
(** Return the head and the tail of a stream, if any. *)
-val is_val : 'a t -> bool
-(** Check if the head has already been evaluated. *)
-
(** {6 Standard operations}
All stream-returning functions are lazy. The other ones are eager. *)