Text this: Quantitative information flow with Monads in Haskell