| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Conformance.Book
Description
A book rendered from the same programs the live backend executes.
Synopsis
- renderBook :: [Row] -> [Receipt] -> String
- bookStories :: [String]
- bookReceipts :: [Receipt] -> Either String [Receipt]
Documentation
renderBook :: [Row] -> [Receipt] -> String Source #
Called only after both live stories and their observations have succeeded.
bookStories :: [String] Source #
The stories a book run executes, renders and requires, in book order.
bookReceipts :: [Receipt] -> Either String [Receipt] Source #
The receipts a book renders: one per story of the book, each agreeing with the model, in book order; a missing or disagreeing story is refused, named.