Add split primitive to Haskell.