Skip to content

Commit 253ef93

Browse files
committed
restore 4.03 compatibility
1 parent b64552a commit 253ef93

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

lib/deps.ml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ let sch: t Schematic.t =
3434
{ units; externals = Externals.of_list externals }
3535
in
3636
let to_ { units = m; externals } =
37-
T.(::)(
38-
(Map.fold (fun k {edge;pkg;aliases} l -> T.[k;edge;pkg;aliases] :: l) m []),
39-
T.[Externals.elements externals]
40-
)
41-
in
37+
let open T in [
38+
Map.fold (fun k {edge;pkg;aliases} l -> (T.[k;edge;pkg;aliases] :: l : _ list)) m [];
39+
Externals.elements externals
40+
]
41+
in
4242
let open Schematic in
4343
custom ([Array [Namespaced.sch; Edge.sch; Pkg.sch; S.sch]; Array String])
4444
to_ from_

0 commit comments

Comments
 (0)