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