PTS.Core.typecheck has to run in some complicated monad. For testing in ghci, it would be convenient to have a wrapper around typecheck that is not monadic. The wrapper would essentially call the various run... functions to unravel the monad transformer stack.
PTS.Core.typecheck
has to run in some complicated monad. For testing in ghci, it would be convenient to have a wrapper aroundtypecheck
that is not monadic. The wrapper would essentially call the variousrun...
functions to unravel the monad transformer stack.