let tuple tenv ps = let n = if ps = [] then "unit" else "*" in let v = symbol tenv (TName n) in List.fold_left (fun acu x -> TTerm (App (acu, x))) v ps