Fix docs for ToSamples

This commit is contained in:
Nickolay Kudasov 2015-09-24 15:25:58 +03:00
parent 479290affd
commit f0c2284c30
2 changed files with 2 additions and 2 deletions

View file

@ -78,7 +78,7 @@
-- > "Get the greeting message selected language. Default is en."
-- > Normal
-- >
-- > instance ToSample Greet Greet where
-- > instance ToSample Greet where
-- > toSample _ = Just $ Greet "Hello, haskeller!"
-- >
-- > toSamples _ =

View file

@ -394,7 +394,7 @@ class HasDocs layout where
-- > instance FromJSON Greet
-- > instance ToJSON Greet
-- >
-- > instance ToSample Greet Greet where
-- > instance ToSample Greet where
-- > toSamples _ = singleSample g
-- >
-- > where g = Greet "Hello, haskeller!"