Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
YamlSpec | |
|
Instances
dbBackend :: forall b. ToDbBackend b => YamlSpec b -> DbBackend #
newtype YamlBackendTableMeta b #
Instances
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 # | |
(ToJSON (YamlBackendTableMeta b), 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 # | |
(ReifiesBackend b, ParseSQL b, FromJSON (YamlBackendTableMeta b), Typeable b) => FromJSON (YamlTableSpec b) # | |
Defined in Napkin.Spec.Yaml.Types parseJSON :: Value -> Parser (YamlTableSpec b) # parseJSONList :: 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] #