Copyright | (C) Frank Staals |
---|---|
License | see the LICENSE file |
Maintainer | Frank Staals |
Safe Haskell | None |
Language | GHC2021 |
Synopsis
- newtype Report a where
- newtype Report1 a = Report1 (BinLeafTree (Const () a) a)
- newtype ReportList a = ReportList [a]
Documentation
Report is a type to be used for reporting/collecting all results of a query.
The result is internally represented as a binary tree, so that we can guarantee O(1) time and space (<>).
Instances
Type to represent reporting elements. The result is represented as a binary tree so that we can support O(1) time and space (<>)
Report1 (BinLeafTree (Const () a) a) |
Instances
newtype ReportList a Source #
Report is a type to be used for reporting/collecting all results of a query. The result is directly represented as a list.
ReportList [a] |