length of a list in haskell code example Example: list length haskell -- input length [1,2,3] -- output 3