horizon-spec-0.6.4: Horizon Stable Package Set Type Definitions
Safe HaskellSafe-Inferred
LanguageHaskell2010

Horizon.Spec.Types.Flag

Documentation

data Flag a where Source #

Constructors

Enable :: a -> Flag a 
Disable :: a -> Flag a 

Instances

Instances details
Generic (Flag a) Source # 
Instance details

Defined in Horizon.Spec.Types.Flag

Associated Types

type Rep (Flag a) :: Type -> Type #

Methods

from :: Flag a -> Rep (Flag a) x #

to :: Rep (Flag a) x -> Flag a #

Show a => Show (Flag a) Source # 
Instance details

Defined in Horizon.Spec.Types.Flag

Methods

showsPrec :: Int -> Flag a -> ShowS #

show :: Flag a -> String #

showList :: [Flag a] -> ShowS #

FromDhall a => FromDhall (Flag a) Source # 
Instance details

Defined in Horizon.Spec.Types.Flag

ToDhall a => ToDhall (Flag a) Source # 
Instance details

Defined in Horizon.Spec.Types.Flag

Eq a => Eq (Flag a) Source # 
Instance details

Defined in Horizon.Spec.Types.Flag

Methods

(==) :: Flag a -> Flag a -> Bool #

(/=) :: Flag a -> Flag a -> Bool #

type Rep (Flag a) Source # 
Instance details

Defined in Horizon.Spec.Types.Flag

type Rep (Flag a) = D1 ('MetaData "Flag" "Horizon.Spec.Types.Flag" "horizon-spec-0.6.4-IhjELmhIYRC1VNVwQDiIzd" 'False) (C1 ('MetaCons "Enable" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a)) :+: C1 ('MetaCons "Disable" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a)))