A tuple is an ordered grouping of values. In Haskell, you cannot have a tuple with only one element, but there is a “zero” tuple, also called unit or (). The types of the elements of tuples are allowed to vary, so both (String, String) and (Integer, String) are valid tuple types. Tuples in Haskell are the usual means of briefly carrying around multiple values without giving that combination its own name.
A tuple is an ordered grouping of values. In Haskell, you cannot have a tuple with only one element, but there is a “zero” tuple, also called unit or (). The types of the elements of tuples are allowed to vary, so both (String, String) and (Integer, String) are valid tuple types. Tuples in Haskell are the usual means of briefly carrying around multiple values without giving that combination its own name.