summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeiHibino <>2016-10-31 07:03:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2016-10-31 07:03:00 (GMT)
commit91aa7a9eb58c8a07d245e19d888eb49adf7ff28c (patch)
treef97fe88fdb0d1962df180082309dbb0f0a4e5997
parenta4bead74a9ace523fef02c936f9b7a88698109fe (diff)
version 0.4.1.00.4.1.0
-rw-r--r--persistable-record.cabal2
-rw-r--r--src/Database/Record/TH.hs6
2 files changed, 5 insertions, 3 deletions
diff --git a/persistable-record.cabal b/persistable-record.cabal
index 0893545..65aa0e4 100644
--- a/persistable-record.cabal
+++ b/persistable-record.cabal
@@ -1,5 +1,5 @@
name: persistable-record
-version: 0.4.0.3
+version: 0.4.1.0
synopsis: Binding between SQL database values and haskell records.
description: This package contiains types to represent table constraints and
interfaces to bind between SQL database values and Haskell records.
diff --git a/src/Database/Record/TH.hs b/src/Database/Record/TH.hs
index 8f811de..c0559b4 100644
--- a/src/Database/Record/TH.hs
+++ b/src/Database/Record/TH.hs
@@ -53,8 +53,9 @@ module Database.Record.TH (
-- * Templates about record type name
NameConfig, defaultNameConfig,
+ recordTypeName, columnName,
- recordTypeName, recordType,
+ recordType,
columnOffsetsVarNameDefault,
@@ -109,7 +110,8 @@ data NameConfig =
instance Show NameConfig where
show = const "<nameConfig>"
--- | Default implementation of 'NameConfig' type
+-- | Default implementation of 'NameConfig' type.
+-- To customize this, use record update syntax.
defaultNameConfig :: NameConfig
defaultNameConfig =
NameConfig