Implementing split in Haskell | Hacker News Reader