From b76d9c3090ecf85da19166b1ef518b9bd07f0d95 Mon Sep 17 00:00:00 2001 From: Isaac Elliott Date: Tue, 28 Feb 2017 17:50:20 +1000 Subject: [PATCH] Fixed spelling and wording for Yesod.Form.Functions.convertField's docs --- yesod-form/ChangeLog.md | 2 ++ yesod-form/Yesod/Form/Functions.hs | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/yesod-form/ChangeLog.md b/yesod-form/ChangeLog.md index 39b13f4d..0da6f50a 100644 --- a/yesod-form/ChangeLog.md +++ b/yesod-form/ChangeLog.md @@ -1,6 +1,8 @@ ## 1.4.11 * Fix warnings +* Fixed spelling errors and wording for `Yesod.Form.Functions.convertField`'s + documentation ## 1.4.10 diff --git a/yesod-form/Yesod/Form/Functions.hs b/yesod-form/Yesod/Form/Functions.hs index 66787523..37d93f13 100644 --- a/yesod-form/Yesod/Form/Functions.hs +++ b/yesod-form/Yesod/Form/Functions.hs @@ -534,8 +534,8 @@ parseHelperGen f (x:_) _ = return $ either (Left . SomeMessage) (Right . Just) $ -- | Since a 'Field' cannot be a 'Functor', it is not obvious how to "reuse" a Field -- on a @newtype@ or otherwise equivalent type. This function allows you to convert --- a @Field m a@ to a @Field m b@ assuming you provide a bidireccional --- convertion among the two, through the first two functions. +-- a @Field m a@ to a @Field m b@ assuming you provide a bidirectional +-- conversion between the two, through the first two functions. -- -- A simple example: --