git.iko.soy/typeable/postgresql-simple
on master help sign in
FromRow: Fix Haddock markup
7bfed1fBen Gamari
src/Database/PostgreSQL/Simple/FromRow.hs+2−1
@@ -56,7 +56,8 @@ import GHC.Generics
56-- Note that instances can be defined outside of postgresql-simple, which is
56-- Note that instances can be defined outside of postgresql-simple, which is
57-- often useful. For example, here's an instance for a user-defined pair:
57-- often useful. For example, here's an instance for a user-defined pair:
58--
58--
59+-- @
59−-- @data User = User { name :: String, fileQuota :: Int }
60+-- data User = User { name :: String, fileQuota :: Int }
60--
61--
61-- instance 'FromRow' User where
62-- instance 'FromRow' User where
62-- fromRow = User \<$\> 'field' \<*\> 'field'
63-- fromRow = User \<$\> 'field' \<*\> 'field'