Skip to content
Snippets Groups Projects
Commit 8681df7d authored by Mário Pereira's avatar Mário Pereira
Browse files

Coercions: cosmetic

parent 0fea401c
No related branches found
No related tags found
No related merge requests found
...@@ -50,8 +50,8 @@ let mem crcmap ts1 ts2 = ...@@ -50,8 +50,8 @@ let mem crcmap ts1 ts2 =
let rec may_match ty1 ty2 = let rec may_match ty1 ty2 =
match (ty1.ty_node, ty2.ty_node) with match (ty1.ty_node, ty2.ty_node) with
| Tyapp (ts1, tl1), Tyapp (ts2, tl2) -> | Tyapp (ts1, tl1), Tyapp (ts2, tl2) ->
if not (ts_equal ts1 ts2) then raise Not_found if not (ts_equal ts1 ts2) then raise Not_found;
else List.iter2 may_match tl1 tl2 List.iter2 may_match tl1 tl2
| _ -> () | _ -> ()
let find_crc crcmap ts1 ts2 = Mts.find ts2 (Mts.find ts1 crcmap) let find_crc crcmap ts1 ts2 = Mts.find ts2 (Mts.find ts1 crcmap)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment