diff options
| author | Pierre-Marie Pédrot | 2016-03-10 14:17:48 +0100 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2016-03-10 14:19:10 +0100 |
| commit | 10e3c8e59664ed5137cd650ba6e0704943c511e8 (patch) | |
| tree | 79467b438b5fec7fa54ca0564bcb16ad431236f9 /lib/iStream.ml | |
| parent | 1b55adb1bea6d0e51fff54d9d94d95d8185476b7 (diff) | |
Removing OCaml deprecated function names from the Lazy module.
Diffstat (limited to 'lib/iStream.ml')
| -rw-r--r-- | lib/iStream.ml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/iStream.ml b/lib/iStream.ml index c9f4d4a111..26a666e176 100644 --- a/lib/iStream.ml +++ b/lib/iStream.ml @@ -14,11 +14,11 @@ type 'a node = ('a,'a t) u and 'a t = 'a node Lazy.t -let empty = Lazy.lazy_from_val Nil +let empty = Lazy.from_val Nil -let cons x s = Lazy.lazy_from_val (Cons (x, s)) +let cons x s = Lazy.from_val (Cons (x, s)) -let thunk = Lazy.lazy_from_fun +let thunk = Lazy.from_fun let rec make_node f s = match f s with | Nil -> Nil |
