@@ -351,10 +351,10 @@ class ToJSON a => ToSample a where
351 toSamples = maybe [] (return . ("",)) s
351 toSamples = maybe [] (return . ("",)) s
352 where s = toSample :: Maybe a
352 where s = toSample :: Maybe a
354−sampleByteString :: ToSample a => Proxy a -> Maybe ByteString
354+sampleByteString :: forall a. ToSample a => Proxy a -> Maybe ByteString
355sampleByteString Proxy = fmap encodePretty (toSample :: Maybe a)
355sampleByteString Proxy = fmap encodePretty (toSample :: Maybe a)
357−sampleByteStrings :: ToSample a => Proxy a -> [(Text, ByteString)]
357+sampleByteStrings :: forall a. ToSample a => Proxy a -> [(Text, ByteString)]
358sampleByteStrings Proxy = samples & traverse._2 %~ encodePretty
358sampleByteStrings Proxy = samples & traverse._2 %~ encodePretty
360 where samples = toSamples :: [(Text, a)]
360 where samples = toSamples :: [(Text, a)]