mk_type : string * hol_type list -> hol_type
Note, however, that type operators with the same name (and arity) may be declared in different theories. If two theories having type operators with the same name s are in the ancestry of the current theory, then mk_type(s,tyl) will issue a warning before arbitrarily selecting which type operator to use. In such situations, mk_thy_type is better since it allows one to specify exactly which type operator to use.
- mk_type ("bool",[]); > val it = `:bool` : hol_type - mk_type ("fun",[alpha,it]); > val it = `:'a -> bool` : hol_type