equal
deleted
inserted
replaced
780 (strip_prod_type ty1 @ tys2, ty3) |
780 (strip_prod_type ty1 @ tys2, ty3) |
781 end |
781 end |
782 | dest_fn_type ty = ([], ty) |
782 | dest_fn_type ty = ([], ty) |
783 |
783 |
784 fun resolve_include_path path_prefixes path_suffix = |
784 fun resolve_include_path path_prefixes path_suffix = |
785 case find_first (fn prefix => File.exists (Path.append prefix path_suffix)) |
785 case find_first (fn prefix => File.exists (prefix + path_suffix)) |
786 path_prefixes of |
786 path_prefixes of |
787 SOME prefix => Path.append prefix path_suffix |
787 SOME prefix => prefix + path_suffix |
788 | NONE => error ("Cannot find include file " ^ Path.print path_suffix) |
788 | NONE => error ("Cannot find include file " ^ Path.print path_suffix) |
789 |
789 |
790 fun is_type_type (Fmla_type (Atom (THF_Atom_term (Term_FuncG (TypeSymbol Type_Type, [], []))))) = |
790 fun is_type_type (Fmla_type (Atom (THF_Atom_term (Term_FuncG (TypeSymbol Type_Type, [], []))))) = |
791 true |
791 true |
792 | is_type_type (Defined_type Type_Type) = true |
792 | is_type_type (Defined_type Type_Type) = true |