Skip to content

Consider renaming TraceT #9

Description

@jonsterling

The general pattern is to have a monad signature given in Control.Monad.Sig.Class and then a concrete structure, which is the "canonical" implementation of that signature, in Control.Monad.Trans.SigT.

But TraceT is not the canonical instance of MonadTrace, it is a particular instance which combines tracing with error handling in a useful way. The canonical instance would be a minimal wrapper around StateT, probably.

To avoid confusing people, the TraceT type might be better named something else.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions