Skip to content

[#566] Add Scenario and PureM to Cleveland exports

Nikolay Yakimov requested to merge lierdakil/#566-more-cleveland-exports into master

Description

Problem: In most cases, we would want to declare a helper function, something to the tune of myScenario :: Monad m => ... -> Scenario m, or for emulated scenarios specifically, myEmulatedScenario :: ... -> Scenario PureM. However, neither Scenario nor PureM are exported from Test.Cleveland, which makes it neccessary to import internals.

Solution: export Scenario and PureM from Test.Cleveland.

This also tweaks haddocks on Scenario, scenario and scenarioEmulated to be a little clearer.

Related issue(s)

Related to #566 (closed)

Checklist for your Merge Request

Related changes (conditional)

  • Tests (see short guidelines)

    • If I added new functionality, I added tests covering it.
    • If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
  • Documentation

    • I checked whether I should update the docs and did so if necessary:
    • I updated changelog files of all affected packages released to Hackage if my changes are externally visible.

N/A.

Stylistic guide (mandatory)

Edited by Nikolay Yakimov

Merge request reports