aboutsummaryrefslogtreecommitdiff
path: root/lib/iStream.ml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/iStream.ml')
-rw-r--r--lib/iStream.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/iStream.ml b/lib/iStream.ml
index 36b9c43ad0..ef69eaf2b0 100644
--- a/lib/iStream.ml
+++ b/lib/iStream.ml
@@ -38,6 +38,8 @@ 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)