Skip to content

Add MonadTrans #130

@treeowl

Description

@treeowl

I don't see anything for MonadTrans. I recommend using this base monad for testing it:

data TestF a = TestF !Int [a]
  deriving (Functor, Eq, Show)
newtype TestM a = TestM (Free TestF a)

where it's easier to define a Free monad locally (with lots of StandaloneDeriving) than to do the Show1, Eq1, etc., gunk needed to use the one in Free.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions