ppp is a library for (pleasant)
PureScript. Currently, it is somewhat incomplete, but it already has
functions to multiply and invert permutations.
To add to your project:
bower install purescript-permutations
You can find documentation here.
If you'd like to contribute to this library, I'd recommend building with pulp:
$ pulp --psc-package build $ pulp --psc-package test