Copyright | (c) NoviSci Inc 2020 |
---|---|
License | BSD3 |
Maintainer | bsaul@novisci.com |
Safe Haskell | Safe |
Language | Haskell2010 |
Synopsis
- data Criterion b
- newtype Criteria b = MkCriteria [Criterion b]
- data Status
- getBools :: Show b => Criterion b -> FeatureData Bool
- include :: Show b => Feature b Bool -> Criterion b
- exclude :: Show b => Feature b Bool -> Criterion b
- collectBools :: Show b => Criteria b -> [FeatureData Bool]
- evalBools :: [FeatureData Bool] -> FeatureData Status
- runCriteria :: Show b => Criteria b -> FeatureData Status
Documentation
MkCriteria [Criterion b] |
collectBools :: Show b => Criteria b -> [FeatureData Bool] Source #
evalBools :: [FeatureData Bool] -> FeatureData Status Source #
TODO: what happens if the feature data lists are not the same length or empty(?) this should get handled in a safer way.
runCriteria :: Show b => Criteria b -> FeatureData Status Source #