pub fn new_simple_type(loc: Loc, ty_str: &str, ty_args: Vec<Type>) -> Type {
    sp(
        loc,
        Type_::Apply(Box::new(new_simple_name(loc, ty_str)), ty_args),
    )
}
/// Helper to create a new type, based on its simple name.
Helper to create a new type, based on its simple name.
Helper to create a new type based on its simple name .
pub fn new_simple_type(loc: Loc, ty_str: &str, ty_args: Vec<Type>) -> Type {
    sp(
        loc,
        Type_::Apply(Box::new(new_simple_name(loc, ty_str)), ty_args),
    )
}
pub fn new_simple_type ( loc : Loc , ty_str : & str , ty_args : Vec < Type > ) -> Type { sp ( loc , Type_ :: Apply ( Box :: new ( new_simple_name ( loc , ty_str ) ) , ty_args ) , ) }
Helper to create a new type, based on its simple name.
Helper to create a new type based on its simple name .
loc
Loc
ty_str
&str
ty_args
Vec<Type>