A Haskell library similar in functionality to the CAT portions of the `catIrt` R library