Reimplementations of Haskell functions in Joseph Manning's Core-Haskell