Skip to content

Consider renaming TraceT #9

Open
@jonsterling

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.

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