Skip to content

Investigate changing constructor of BaseControl to lessen restrictions on threadBaseControlViaUnlift #16

@KingoftheHomeless

Description

@KingoftheHomeless

threadBaseControlViaUnlift requires that the relevant transformer is representational in the transformed monad,which is not satisfied by abstract monad transformers. A relevant use-case for removing this restriction is for haskeline's InputT, as shown in #14.

Two plausible approaches to solve this:

  1. Make BaseControl MonadTransControl-based rather than MonadBaseControl-based
  2. Inline the entire MonadBaseControl dictionary into BaseControl.

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