mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-07 11:45:31 -05:00
bugfix: do not use Sequence.flatMap (close #90)
the function was deprecated and has been removed in sequence 0.9
This commit is contained in:
parent
e8cd571005
commit
0046bea415
1 changed files with 1 additions and 1 deletions
|
|
@ -212,7 +212,7 @@ module PMap = struct
|
|||
seq
|
||||
|
||||
let flatten_l m =
|
||||
let seq = Sequence.flatMap
|
||||
let seq = Sequence.flat_map
|
||||
(fun (k,v) -> Sequence.map (fun v' -> k,v') (Sequence.of_list v))
|
||||
m.to_seq
|
||||
in
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue