Fix docs for ToSamples
This commit is contained in:
parent
479290affd
commit
f0c2284c30
2 changed files with 2 additions and 2 deletions
|
@ -78,7 +78,7 @@
|
||||||
-- > "Get the greeting message selected language. Default is en."
|
-- > "Get the greeting message selected language. Default is en."
|
||||||
-- > Normal
|
-- > Normal
|
||||||
-- >
|
-- >
|
||||||
-- > instance ToSample Greet Greet where
|
-- > instance ToSample Greet where
|
||||||
-- > toSample _ = Just $ Greet "Hello, haskeller!"
|
-- > toSample _ = Just $ Greet "Hello, haskeller!"
|
||||||
-- >
|
-- >
|
||||||
-- > toSamples _ =
|
-- > toSamples _ =
|
||||||
|
|
|
@ -394,7 +394,7 @@ class HasDocs layout where
|
||||||
-- > instance FromJSON Greet
|
-- > instance FromJSON Greet
|
||||||
-- > instance ToJSON Greet
|
-- > instance ToJSON Greet
|
||||||
-- >
|
-- >
|
||||||
-- > instance ToSample Greet Greet where
|
-- > instance ToSample Greet where
|
||||||
-- > toSamples _ = singleSample g
|
-- > toSamples _ = singleSample g
|
||||||
-- >
|
-- >
|
||||||
-- > where g = Greet "Hello, haskeller!"
|
-- > where g = Greet "Hello, haskeller!"
|
||||||
|
|
Loading…
Reference in a new issue