length
function.
ftups
that "flattens" a list of two-tuples into a list of individual values. Example:
> ftups [(1,2),(3,4),(5,6)] [1,2,3,4,5,6] > ftups [('t','e'),('s','t'),('e','d')] "tested"
ftups
?
length [] = 0 length (_:t) = 1 + length t ftups [] = [] ftups ((x,y):ts) = x:y:ftups ts