mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
small fix for 4.0 compat
This commit is contained in:
parent
308ea3a650
commit
c14191f1bd
1 changed files with 2 additions and 4 deletions
|
|
@ -583,10 +583,8 @@ module Make(W : WORD)
|
||||||
| Some v, Above -> k (W.of_list (prefix[]), v)
|
| Some v, Above -> k (W.of_list (prefix[]), v)
|
||||||
| _ -> ()
|
| _ -> ()
|
||||||
end;
|
end;
|
||||||
let seq =
|
let seq = seq_of_map map in
|
||||||
seq_of_map map
|
let seq = _seq_map (fun (c,t') -> Explore (t', _difflist_add prefix c)) seq in
|
||||||
|> _seq_map (fun (c,t') -> Explore (t', _difflist_add prefix c))
|
|
||||||
in
|
|
||||||
let l' = match o, dir with
|
let l' = match o, dir with
|
||||||
| _, Above -> _seq_append_list [] seq
|
| _, Above -> _seq_append_list [] seq
|
||||||
| None, Below -> _seq_append_list_rev [] seq
|
| None, Below -> _seq_append_list_rev [] seq
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue