added mkStr to the Haskell binding