git.iko.soy/typeable/http-api-data
on master help sign in
Fix haddock for FromForm (fix #39)
commit008cbc895b3602bca73732854dfad698ebfd8c4c authorNickolay Kudasov <nickolay.kudasov@gmail.com> dateMon 14 Nov 2016, 23:29 (10 years ago) parentfbde28b
1 file changed+3−3
src/Web/Internal/FormUrlEncoded.hs+3−3
src/Web/Internal/FormUrlEncoded.hs+3−3
@@ -355,9 +355,9 @@ instance NotSupported ToForm t "is a sum type" => GToForm t (f :+: g) where gToF
355355-- , age :: Int }
356356--
357357-- instance 'FromForm' Person where
358−-- 'fromForm' (Form m) = Person
359−-- '<$>' 'parseUnique' "name" m
360−-- '<*>' 'parseUnique' "age" m
358+-- 'fromForm' f = Person
359+-- '<$>' 'parseUnique' "name" f
360+-- '<*>' 'parseUnique' "age" f
361361-- @
362362--
363363-- Instead of manually writing @'FromForm'@ instances you can