diff options
| author | Emilio Jesus Gallego Arias | 2019-08-24 02:14:11 +0200 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2019-08-26 10:45:10 +0200 |
| commit | 755193218912c1c506483ac3236aa0b42c4c08d5 (patch) | |
| tree | 9d4bb6eb8cc2fdd19dcf74c752c64994565087f6 /lib/future.ml | |
| parent | 09953295ea86eaf78c6688a1a2861aa6f41cd9ab (diff) | |
[lib] [future] Small cleanup of ununsed functions.
Diffstat (limited to 'lib/future.ml')
| -rw-r--r-- | lib/future.ml | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/future.ml b/lib/future.ml index 01fb7d0297..d3ea538549 100644 --- a/lib/future.ml +++ b/lib/future.ml @@ -98,7 +98,6 @@ let peek_val kx = let _, _, _, x = get kx in match !x with let uuid kx = let _, id, _, _ = get kx in id let from_val ?(fix_exn=id) v = create fix_exn (Val v) -let from_here ?(fix_exn=id) v = create fix_exn (Val v) let fix_exn_of ck = let _, _, fix_exn, _ = get ck in fix_exn @@ -168,8 +167,6 @@ let join kx = kx := Finished v; v -let sink kx = if is_val kx then ignore(join kx) - let split2 x = chain x (fun x -> fst x), chain x (fun x -> snd x) |
