Fixed spelling and wording for Yesod.Form.Functions.convertField's docs
This commit is contained in:
parent
3f9cbf2ff9
commit
b76d9c3090
@ -1,6 +1,8 @@
|
|||||||
## 1.4.11
|
## 1.4.11
|
||||||
|
|
||||||
* Fix warnings
|
* Fix warnings
|
||||||
|
* Fixed spelling errors and wording for `Yesod.Form.Functions.convertField`'s
|
||||||
|
documentation
|
||||||
|
|
||||||
## 1.4.10
|
## 1.4.10
|
||||||
|
|
||||||
|
|||||||
@ -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
|
-- | 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
|
-- 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
|
-- a @Field m a@ to a @Field m b@ assuming you provide a bidirectional
|
||||||
-- convertion among the two, through the first two functions.
|
-- conversion between the two, through the first two functions.
|
||||||
--
|
--
|
||||||
-- A simple example:
|
-- A simple example:
|
||||||
--
|
--
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user