Chain assertions contained in a monad.
spago install assert-multipleDocumentation and more detailed examples are hosted on Pursuit.
Normally, an array of assertions will not be evaluated eagerly:
import Test.Assert (assert)
do
x <- 1 .. 5
pure $ assert (x <= 5)resolve will fold and invoke them sequentially.
import Test.Assert.Multiple (resolve)
resolve do
x <- 1 .. 5
pure $ assert (x <= 5)To install dependencies:
yarn install
yarn spago installTo run tests:
yarn spago testTo generate the documentation locally:
yarn spago docsTo run linters:
yarn lintTo run formatters:
yarn formatPlease read this repository's Code of Conduct which outlines our collaboration standards and the Changelog for details on breaking changes that have been made.
This repository adheres to semantic versioning standards. For more information on semantic versioning visit SemVer.
Bump2version is used to version and tag changes. For example:
bump2version patch- Joel Lefkowitz - Initial work
Lots of love to the open source community!