hls-tactics-plugin-1.0.0.0: Wingman plugin for Haskell Language Server
Safe HaskellSafe-Inferred
LanguageHaskell2010

Ide.Plugin.Tactic.FeatureSet

Synopsis

Documentation

data Feature Source #

All the available features. A FeatureSet describes the ones currently available to the user.

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.