Skip to content

Commit

Permalink
Fix haddock for FromForm (fix #39)
Browse files Browse the repository at this point in the history
  • Loading branch information
fizruk committed Nov 14, 2016
1 parent fbde28b commit 008cbc8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Web/Internal/FormUrlEncoded.hs
Original file line number Diff line number Diff line change
Expand Up @@ -355,9 +355,9 @@ instance NotSupported ToForm t "is a sum type" => GToForm t (f :+: g) where gToF
-- , age :: Int }
--
-- instance 'FromForm' Person where
-- 'fromForm' (Form m) = Person
-- '<$>' 'parseUnique' "name" m
-- '<*>' 'parseUnique' "age" m
-- 'fromForm' f = Person
-- '<$>' 'parseUnique' "name" f
-- '<*>' 'parseUnique' "age" f
-- @
--
-- Instead of manually writing @'FromForm'@ instances you can
Expand Down

0 comments on commit 008cbc8

Please sign in to comment.