Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
newtype WithBackend b a #
Instances
Functor (WithBackend b) # | |
Defined in Napkin.Spec.Yaml.Types.Backends fmap :: (a -> b0) -> WithBackend b a -> WithBackend b b0 # (<$) :: a -> WithBackend b b0 -> WithBackend b a # | |
(ReifiesBackend b, ParseSQL b) => FromJSON (WithBackend b Query) # | |
Defined in Napkin.Spec.Yaml.Types.Backends parseJSON :: Value -> Parser (WithBackend b Query) # parseJSONList :: Value -> Parser [WithBackend b Query] # | |
(ReifiesBackend b, ParseSQL b) => FromJSON (WithBackend b SExp) # | |
Defined in Napkin.Spec.Yaml.Types.Backends parseJSON :: Value -> Parser (WithBackend b SExp) # parseJSONList :: Value -> Parser [WithBackend b SExp] # |
withBackend :: forall b a. WithBackend b a -> a #