let rec tySem_of_list = function | [] -> Ast.TyNil ghost | [ t ] -> t | t :: ts -> let _loc = loc_of_ctyp t in Ast.TySem (_loc, t, (tySem_of_list ts))