@@ -455,7 +455,7 @@ sampleByteString
455 -> Proxy a
455 -> Proxy a
456 -> [(M.MediaType, ByteString)]
456 -> [(M.MediaType, ByteString)]
457sampleByteString ctypes@Proxy Proxy =
457sampleByteString ctypes@Proxy Proxy =
458− maybe [] (amr ctypes) (toSample :: Maybe a)
458+ maybe [] (allMimeRender ctypes) (toSample :: Maybe a)
460-- | Synthesise a list of sample values of a particular type, encoded in the
460-- | Synthesise a list of sample values of a particular type, encoded in the
461-- specified media types.
461-- specified media types.
@@ -466,7 +466,7 @@ sampleByteStrings
466 -> [(Text, M.MediaType, ByteString)]
466 -> [(Text, M.MediaType, ByteString)]
467sampleByteStrings ctypes@Proxy Proxy =
467sampleByteStrings ctypes@Proxy Proxy =
468 let samples = toSamples :: [(Text, a)]
468 let samples = toSamples :: [(Text, a)]
469− enc (t, s) = uncurry (t,,) <$> amr ctypes s
469+ enc (t, s) = uncurry (t,,) <$> allMimeRender ctypes s
470 in concatMap enc samples
470 in concatMap enc samples
472-- | Generate a list of 'MediaType' values describing the content types
472-- | Generate a list of 'MediaType' values describing the content types