Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
YamlSpec | |
|
Instances
dbBackend :: forall b. ToDbBackend b => YamlSpec b -> DbBackend #
data YamlTableSpec b #
Instances
(Eq (BackendTableMeta b), Typeable b) => Eq (YamlTableSpec b) # | |
Defined in Napkin.Spec.Yaml.Types (==) :: YamlTableSpec b -> YamlTableSpec b -> Bool # (/=) :: YamlTableSpec b -> YamlTableSpec b -> Bool # | |
(Show (BackendTableMeta b), Typeable b) => Show (YamlTableSpec b) # | |
Defined in Napkin.Spec.Yaml.Types showsPrec :: Int -> YamlTableSpec b -> ShowS # show :: YamlTableSpec b -> String # showList :: [YamlTableSpec b] -> ShowS # | |
Typeable b => ToJSON (YamlTableSpec b) # | |
Defined in Napkin.Spec.Yaml.Types toJSON :: YamlTableSpec b -> Value # toEncoding :: YamlTableSpec b -> Encoding # toJSONList :: [YamlTableSpec b] -> Value # toEncodingList :: [YamlTableSpec b] -> Encoding # |
parseTableSpec :: forall b. (ReifiesBackend b, ToDbBackend b, BackendMetaConstraints b, Typeable b, Default (BackendTableMeta b)) => Ref Table -> Value -> Parser (YamlTableSpec b) #
newtype YamlHaskellExtension #
Instances
Eq YamlHaskellExtension # | |
Defined in Napkin.Spec.Yaml.Types (==) :: YamlHaskellExtension -> YamlHaskellExtension -> Bool # (/=) :: YamlHaskellExtension -> YamlHaskellExtension -> Bool # | |
Show YamlHaskellExtension # | |
Defined in Napkin.Spec.Yaml.Types showsPrec :: Int -> YamlHaskellExtension -> ShowS # show :: YamlHaskellExtension -> String # showList :: [YamlHaskellExtension] -> ShowS # | |
ToJSON YamlHaskellExtension # | |
Defined in Napkin.Spec.Yaml.Types toJSON :: YamlHaskellExtension -> Value # toEncoding :: YamlHaskellExtension -> Encoding # toJSONList :: [YamlHaskellExtension] -> Value # toEncodingList :: [YamlHaskellExtension] -> Encoding # | |
FromJSON YamlHaskellExtension # | |
Defined in Napkin.Spec.Yaml.Types parseJSON :: Value -> Parser YamlHaskellExtension # parseJSONList :: Value -> Parser [YamlHaskellExtension] # |
toExtensions :: [YamlHaskellExtension] -> [HaskellExtension] #
allHaskellModules :: Typeable b => YamlSpec b -> [Module] #
Orphan instances
ToJSON DbBackend # | |
ToJSON UpdateStrategy # | |
toJSON :: UpdateStrategy -> Value # toEncoding :: UpdateStrategy -> Encoding # toJSONList :: [UpdateStrategy] -> Value # toEncodingList :: [UpdateStrategy] -> Encoding # | |
FromJSON DbBackend # | |
FromJSON UpdateStrategy # | |
parseJSON :: Value -> Parser UpdateStrategy # parseJSONList :: Value -> Parser [UpdateStrategy] # |