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