Effective implementation of suffix arrays for Haskell.