Correction d'un bug

This commit is contained in:
Adrien Vannson 2022-05-08 18:10:08 +02:00
parent 4d6287f2cd
commit 15afcecabe
No known key found for this signature in database
GPG Key ID: FE2E66FD978C1A55

View File

@ -8,7 +8,7 @@ exception IllegalVarNameException of var
let rec string_of_ty (t: ty) : string =
match t with
| TSimple(tn) -> tn
| TImpl(t1,t2) -> (string_of_ty t1) ^ " -> " ^ (string_of_ty t2)
| TImpl(t1,t2) -> "(" ^ (string_of_ty t1) ^ " -> " ^ (string_of_ty t2) ^ ")"
| TFalse -> ""
;;