Apply 1 suggestion(s) to 1 file(s)
This commit is contained in:
parent
362e33c7f9
commit
2351dda44e
@ -71,7 +71,7 @@ module M = struct
|
|||||||
typeVariableMap = (fun _visitor continue NoState tvmap ->
|
typeVariableMap = (fun _visitor continue NoState tvmap ->
|
||||||
let lst = List.sort (fun (a, _) (b, _) -> Var.compare a b) (RedBlackTrees.PolyMap.bindings tvmap) in
|
let lst = List.sort (fun (a, _) (b, _) -> Var.compare a b) (RedBlackTrees.PolyMap.bindings tvmap) in
|
||||||
let aux (k, v) =
|
let aux (k, v) =
|
||||||
`Assoc [ asprintf "%a" Var.pp k ; continue NoState v ] in
|
`Assoc [ asprintf "%a" Var.pp k , continue NoState v ] in
|
||||||
let lst' = List.map aux lst in
|
let lst' = List.map aux lst in
|
||||||
`Assoc ["typeVariableMap", `List lst'] );
|
`Assoc ["typeVariableMap", `List lst'] );
|
||||||
}
|
}
|
||||||
@ -86,8 +86,3 @@ include Fold.Folds(struct
|
|||||||
type 'a t = 'a -> json ;;
|
type 'a t = 'a -> json ;;
|
||||||
let f = M.print ;;
|
let f = M.print ;;
|
||||||
end)
|
end)
|
||||||
|
|
||||||
(* type in_state
|
|
||||||
type out_state
|
|
||||||
type 'a t
|
|
||||||
val f : ((in_state , out_state) fold_config -> in_state -> 'a -> out_state) -> 'a t *)
|
|
Loading…
Reference in New Issue
Block a user