Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Napkin.Spec.Yaml.Types
Contents
Documentation
data YamlArgumentType #
Constructors
YamlArgumentOptional | |
YamlArgumentRequired |
Instances
FromJSON YamlArgumentType # | |
Defined in Napkin.Spec.Yaml.Types Methods parseJSON :: Value -> Parser YamlArgumentType # parseJSONList :: Value -> Parser [YamlArgumentType] # | |
Generic YamlArgumentType # | |
Defined in Napkin.Spec.Yaml.Types Associated Types type Rep YamlArgumentType :: Type -> Type # Methods from :: YamlArgumentType -> Rep YamlArgumentType x # to :: Rep YamlArgumentType x -> YamlArgumentType # | |
Show YamlArgumentType # | |
Defined in Napkin.Spec.Yaml.Types Methods showsPrec :: Int -> YamlArgumentType -> ShowS # show :: YamlArgumentType -> String # showList :: [YamlArgumentType] -> ShowS # | |
Eq YamlArgumentType # | |
Defined in Napkin.Spec.Yaml.Types Methods (==) :: YamlArgumentType -> YamlArgumentType -> Bool # (/=) :: YamlArgumentType -> YamlArgumentType -> Bool # | |
type Rep YamlArgumentType # | |
Defined in Napkin.Spec.Yaml.Types |
data YamlArgument #
Constructors
YamlArgument | |
Instances
FromJSON YamlArgument # | |
Defined in Napkin.Spec.Yaml.Types | |
Show YamlArgument # | |
Defined in Napkin.Spec.Yaml.Types Methods showsPrec :: Int -> YamlArgument -> ShowS # show :: YamlArgument -> String # showList :: [YamlArgument] -> ShowS # | |
Eq YamlArgument # | |
Defined in Napkin.Spec.Yaml.Types |
data HaskellPackageType #
Constructors
HaskellPackageHpack | |
HaskellPackageCabal |
Instances
FromJSON HaskellPackageType # | |
Defined in Napkin.Spec.Yaml.Types Methods parseJSON :: Value -> Parser HaskellPackageType # parseJSONList :: Value -> Parser [HaskellPackageType] # | |
Generic HaskellPackageType # | |
Defined in Napkin.Spec.Yaml.Types Associated Types type Rep HaskellPackageType :: Type -> Type # Methods from :: HaskellPackageType -> Rep HaskellPackageType x # to :: Rep HaskellPackageType x -> HaskellPackageType # | |
Show HaskellPackageType # | |
Defined in Napkin.Spec.Yaml.Types Methods showsPrec :: Int -> HaskellPackageType -> ShowS # show :: HaskellPackageType -> String # showList :: [HaskellPackageType] -> ShowS # | |
Eq HaskellPackageType # | |
Defined in Napkin.Spec.Yaml.Types Methods (==) :: HaskellPackageType -> HaskellPackageType -> Bool # (/=) :: HaskellPackageType -> HaskellPackageType -> Bool # | |
type Rep HaskellPackageType # | |
Defined in Napkin.Spec.Yaml.Types |
data HaskellPackage #
Constructors
HaskellPackage | |
Instances
FromJSON HaskellPackage # | |
Defined in Napkin.Spec.Yaml.Types Methods parseJSON :: Value -> Parser HaskellPackage # parseJSONList :: Value -> Parser [HaskellPackage] # | |
Show HaskellPackage # | |
Defined in Napkin.Spec.Yaml.Types Methods showsPrec :: Int -> HaskellPackage -> ShowS # show :: HaskellPackage -> String # showList :: [HaskellPackage] -> ShowS # | |
Eq HaskellPackage # | |
Defined in Napkin.Spec.Yaml.Types Methods (==) :: HaskellPackage -> HaskellPackage -> Bool # (/=) :: HaskellPackage -> HaskellPackage -> Bool # |
Constructors
YamlSpec | |
Fields
|
Instances
dbBackend :: forall b. ToDbBackend b => YamlSpec b -> DbBackend #
data YamlTableSpec b #
Constructors
Instances
(Show (BackendTableMeta b), Typeable b) => Show (YamlTableSpec b) # | |
Defined in Napkin.Spec.Yaml.Types Methods showsPrec :: Int -> YamlTableSpec b -> ShowS # show :: YamlTableSpec b -> String # showList :: [YamlTableSpec b] -> ShowS # | |
(Eq (BackendTableMeta b), Typeable b) => Eq (YamlTableSpec b) # | |
Defined in Napkin.Spec.Yaml.Types Methods (==) :: YamlTableSpec b -> YamlTableSpec b -> Bool # (/=) :: YamlTableSpec b -> YamlTableSpec b -> Bool # |
parseTableSpec :: forall b. (ReifiesBackend b, ToDbBackend b, BackendMetaConstraints b, Typeable b, Default (BackendTableMeta b), SqlConcat b) => SpecTableName -> Value -> Parser (YamlTableSpec b) #
newtype YamlHaskellExtension #
Constructors
YamlHaskellExtension | |
Fields |
Instances
allHaskellModules :: YamlSpec b -> [Module] #