on dev help sign in
binary docs
commitb1b34c12ec00b8192de05eb509760b80cf54152a authorEitan Chatav <eitan.chatav@gmail.com> dateThu 21 Jun 2018, 21:10 (8 years ago) parent922f826
1 file changed+2−3
squeal-postgresql/src/Squeal/PostgreSQL/Binary.hs+2−3
squeal-postgresql/src/Squeal/PostgreSQL/Binary.hs+2−3
@@ -5,12 +5,11 @@ Copyright: (c) Eitan Chatav, 2017
55Maintainer: eitan@morphism.tech
66Stability: experimental
77
8−Binary encoding and decoding between Haskell and PostgreSQL types.
8+This module provides binary encoding and decoding between Haskell and PostgreSQL types.
99
1010Instances are governed by the `Generic` and `HasDatatypeInfo` typeclasses, so you absolutely
1111do not need to define your own instances to decode retrieved rows into Haskell values or
12−to encode Haskell values into statement parameters. You only need to derive those type
13−classes.
12+to encode Haskell values into statement parameters.
1413
1514>>> import Data.Int (Int16)
1615>>> import Data.Text (Text)