| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Wingman.FeatureSet
Synopsis
Documentation
All the available features. A FeatureSet describes the ones currently
available to the user.
Instances
| Bounded Feature Source # | |
| Enum Feature Source # | |
| Eq Feature Source # | |
| Ord Feature Source # | |
| Read Feature Source # | |
| Show Feature Source # | |
type FeatureSet = Set Feature Source #
A collection of enabled features.
hasFeature :: Feature -> FeatureSet -> Bool Source #
Is a given Feature currently enabled?
defaultFeatures :: FeatureSet Source #
Features that are globally enabled for all users.
allFeatures :: FeatureSet Source #
All available features.
parseFeatureSet :: Text -> FeatureSet Source #
Parse a feature set.
prettyFeatureSet :: FeatureSet -> String Source #
Pretty print a feature set.