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."
|
||||
-- > Normal
|
||||
-- >
|
||||
-- > instance ToSample Greet Greet where
|
||||
-- > instance ToSample Greet where
|
||||
-- > toSample _ = Just $ Greet "Hello, haskeller!"
|
||||
-- >
|
||||
-- > toSamples _ =
|
||||
|
|
|
@ -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!"
|
||||
|
|
Loading…
Reference in a new issue