equal
deleted
inserted
replaced
255 let |
255 let |
256 |
256 |
257 (* adjust sorts of parameters *) |
257 (* adjust sorts of parameters *) |
258 |
258 |
259 fun not_in_sort x S' S = |
259 fun not_in_sort x S' S = |
260 "Type variable " ^ x ^ "::" ^ Sorts.str_of_sort S' ^ " not in sort " ^ |
260 "Variable " ^ x ^ "::" ^ Sorts.str_of_sort S' ^ " not of sort " ^ |
261 Sorts.str_of_sort S ^ "."; |
261 Sorts.str_of_sort S ^ "."; |
262 |
262 |
263 fun meet _ [] = () |
263 fun meet _ [] = () |
264 | meet (Link (r as (ref (Param S')))) S = |
264 | meet (Link (r as (ref (Param S')))) S = |
265 if Sorts.sort_le classrel (S', S) then () |
265 if Sorts.sort_le classrel (S', S) then () |