add the Haskell algebra library