implement list-ops for haskell

/cc @soapie @qnikst @pminten @sjakobi