hasklepias-0.8.3: Define features from events
Copyright(c) NoviSci Inc 2020
LicenseBSD3
Maintainerbsaul@novisci.com
Safe HaskellSafe
LanguageHaskell2010

FeatureCompose.Criteria

Description

 
Synopsis

Documentation

data Criterion b Source #

Constructors

Inclusion (Feature b Bool) 
Exclusion (Feature b Bool) 

Instances

Instances details
(Show b, Eq b) => Eq (Criterion b) Source # 
Instance details

Defined in FeatureCompose.Criteria

Methods

(==) :: Criterion b -> Criterion b -> Bool #

(/=) :: Criterion b -> Criterion b -> Bool #

Show b => Show (Criterion b) Source # 
Instance details

Defined in FeatureCompose.Criteria

newtype Criteria b Source #

Constructors

MkCriteria [Criterion b] 

Instances

Instances details
Show b => Show (Criteria b) Source # 
Instance details

Defined in FeatureCompose.Criteria

Methods

showsPrec :: Int -> Criteria b -> ShowS #

show :: Criteria b -> String #

showList :: [Criteria b] -> ShowS #

data Status Source #

Constructors

Included 
ExcludedBy Int 

Instances

Instances details
Eq Status Source # 
Instance details

Defined in FeatureCompose.Criteria

Methods

(==) :: Status -> Status -> Bool #

(/=) :: Status -> Status -> Bool #

Show Status Source # 
Instance details

Defined in FeatureCompose.Criteria

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.