/** * Return the length of a list * @param list :: [a] * @returns number */ export const length = (list: A): number => list.length