The happstack implementation seems to rely on an older version of the happstack framework which itself depends on older versions of other libraries and so on, plus there seem to be some breaking changes between the older version and this one.
To remedy this, an overhaul to a current version of happstack would be needed.