-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Servant support for yaml
--   
--   Servant support for yaml.
@package servant-yaml
@version 0.1.0.0


-- | An <tt>YAML</tt> empty data type with <a>MimeRender</a> instances for
--   <tt>yaml</tt> / <tt>aeson</tt>'s <a>ToJSON</a> class and
--   <tt>Value</tt> datatype. You should only need to import this module
--   for it's instances and the <a>YAML</a> datatype.:
--   
--   <pre>
--   &gt;&gt;&gt; type YamlGET a = Get '[YAML] a
--   </pre>
--   
--   Will then check that <tt>a</tt> has a <a>ToJSON</a> instance
--   (<tt>Value</tt> has).
module Servant.Yaml
data YAML

-- | <pre>
--   application/x-yaml
--   </pre>

-- | <a>encode</a>

-- | <a>decodeEither</a>
instance Servant.API.ContentTypes.Accept Servant.Yaml.YAML
instance Data.Aeson.Types.ToJSON.ToJSON a => Servant.API.ContentTypes.MimeRender Servant.Yaml.YAML a
instance Data.Aeson.Types.FromJSON.FromJSON a => Servant.API.ContentTypes.MimeUnrender Servant.Yaml.YAML a
