Skip to content

Looking for feedback: Move from monad-control & lifted-base to unliftio. #22

@iand675

Description

@iand675

I'm considering switching over from uses of monad-control to unliftio. A few of the reasons:

  • New yesod versions don't provide instances for MonadBaseControl in Handlers.
  • There are noted issues with bracketing in the context of MonadBaseControl (see https://www.fpcomplete.com/blog/2017/06/tale-of-two-brackets). In the case of datadog's usage, bracketing is one of the main reasons that we use it, so I'd like to restrict usage to a safer subset of monad transformers.

Any feedback is welcome, but thinking about doing a major release with #18 and #21 soon, so it'd be a good time to make the transition.

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