git.iko.soy/typeable/postgresql-simple
on master help sign in
Tweak documentation
commitd987b524e52a72567870d7a1bb92f7f855513a9c authorLeon P Smith <leon@melding-monads.com> dateSun 27 Jan 2013, 23:29 (14 years ago) parent53112fb
1 file changed+3−3
src/Database/PostgreSQL/Simple/FromField.hs+3−3
src/Database/PostgreSQL/Simple/FromField.hs+3−3
@@ -19,9 +19,9 @@
1919-- A Haskell numeric type is considered to be compatible with all
2020-- PostgreSQL numeric types that are less accurate than it. For instance,
2121-- the Haskell 'Double' type is compatible with the PostgreSQL's 32-bit
22−-- @Int@ type because it can represent a @Int@ exactly. On the other hand,
23−-- since a 'Double' might lose precision if representing a 64-bit @BigInt@,
24−-- the two are /not/ considered compatible.
22+-- @int@ type because it can represent a @int@ exactly. On the other hand,
23+-- since a 'Double' might lose precision if representing PostgreSQL's 64-bit
24+-- @bigint@, the two are /not/ considered compatible.
2525--
2626-- Because 'FromField' is a typeclass, one may provide conversions to
2727-- additional Haskell types without modifying postgresql-simple. This is