Commit Graph

48 Commits

Author SHA1 Message Date
Kei Hibino
9fb5446b0e Remove SQL value type dependency in Relational.Query.TH. 2013-05-14 20:28:13 +09:00
Kei Hibino
0166f7c459 Update haddocks. 2013-05-14 19:16:08 +09:00
Kei Hibino
7f34dde5cd Rename TH functions. 2013-05-14 19:05:20 +09:00
Kei Hibino
64c306ab6b Move TH functions into relational-join which does not depends on HDBC. 2013-05-14 18:34:26 +09:00
Kei Hibino
661236c3f8 Add TH functions to define HasConstraintKey instances. 2013-05-14 16:49:47 +09:00
Kei Hibino
b8162c7e8a Renamed. 2013-05-14 16:16:00 +09:00
Kei Hibino
125610ec2e Export relationalVarExpDefault. 2013-05-14 16:12:24 +09:00
Kei Hibino
0b41f05b62 Now, defineColumn defines not HasConstraintKey instance,
but Constraint.Key object.
2013-05-14 12:51:15 +09:00
Kei Hibino
64e0d0b0b0 Add TH functions to generate SQLs. 2013-05-14 02:41:24 +09:00
Kei Hibino
2b3dc5ff93 Update exposed module list. 2013-05-13 18:56:31 +09:00
Kei Hibino
c02845412d Update export list. 2013-05-13 18:29:01 +09:00
Kei Hibino
6e3165d738 Add TH functions which defines SQLs. 2013-05-13 18:24:37 +09:00
Kei Hibino
ec37d37d01 Add derived update SQLs. 2013-05-13 18:08:00 +09:00
Kei Hibino
a753436989 Add Show instances. 2013-05-13 18:04:25 +09:00
Kei Hibino
866f188bb2 Renamed. 2013-05-13 18:00:10 +09:00
Kei Hibino
bbe66c8dc3 Add a module which generates SQL strings to use sql-words. 2013-05-13 16:56:14 +09:00
Kei Hibino
1d99255dc5 Add flatten function to flatten nested Maybe. 2013-05-13 14:54:40 +09:00
Kei Hibino
382fd7469f Add functions which derives queries from key constraints. 2013-05-12 10:16:03 +09:00
Kei Hibino
82d0703cfa Rename functions to derive constraint keys. 2013-05-11 14:56:05 +09:00
Kei Hibino
87395e5981 Formatting. 2013-05-11 14:49:52 +09:00
Kei Hibino
6223573b72 Update for PrimeRelation. 2013-05-11 11:51:15 +09:00
Kei Hibino
71558e4918 Add experimental Update and Insert type. 2013-05-11 03:30:36 +09:00
Kei Hibino
4499e2ece7 Update TH functions for constraints. 2013-05-10 16:02:45 +09:00
Kei Hibino
6d2204fb3c Add Constraint.Key proof object which can derive
both KeyConstraint and projection path.
2013-05-10 11:42:15 +09:00
Kei Hibino
f1d5334d61 Update to use integrated Database.Record module. 2013-05-09 22:40:40 +09:00
Kei Hibino
80b45bd1bf Treat unit type as zero-width record and defines Extended relation
type which requires parameter type.
2013-05-09 17:32:24 +09:00
Kei Hibino
c11310fc59 ORDER BY support. 2013-05-09 12:36:22 +09:00
Kei Hibino
7824af3a78 Move default definitions of column selector. 2013-05-08 17:42:14 +09:00
Kei Hibino
0ea4d7edb9 Add TH functions to define column selectors. 2013-05-08 17:37:43 +09:00
Kei Hibino
1644fee89a Specify associativity for column selector (!, !?) lower than Pi path
constructor (:*).
2013-05-08 17:15:45 +09:00
Kei Hibino
7d5946562c Re-define Pis for fst and snd using PersistableWidth. 2013-05-08 17:13:00 +09:00
Kei Hibino
3dfc8bb4ee Remove unused old definitions. 2013-05-08 17:02:41 +09:00
Kei Hibino
b745f31f7b Add TH functions to define Table type. 2013-05-08 16:37:38 +09:00
Kei Hibino
fa050eaa4c Update Projectable type class and specify associativity of
binary operators.
2013-05-07 23:27:28 +09:00
Kei Hibino
ee80da7529 Begins TH for relational-join. 2013-05-07 17:34:00 +09:00
Kei Hibino
8744e55171 Rename package from th-names to names-th.
--HG--
rename : th-names/GNUmakefile => names-th/GNUmakefile
rename : th-names/LICENSE => names-th/LICENSE
rename : th-names/Setup.hs => names-th/Setup.hs
rename : th-names/debian/changelog => names-th/debian/changelog
rename : th-names/debian/compat => names-th/debian/compat
rename : th-names/debian/control => names-th/debian/control
rename : th-names/debian/copyright => names-th/debian/copyright
rename : th-names/debian/rules => names-th/debian/rules
rename : th-names/debian/source/format => names-th/debian/source/format
rename : th-names/debian/watch => names-th/debian/watch
rename : th-names/th-names.cabal => names-th/names-th.cabal
rename : th-names/src/Language/Haskell/TH/Name/CamelCase.hs => names-th/src/Language/Haskell/TH/Name/CamelCase.hs
rename : th-names/src/Language/Haskell/TH/Name/Extra.hs => names-th/src/Language/Haskell/TH/Name/Extra.hs
2013-05-07 17:22:06 +09:00
Kei Hibino
6d1c951923 Update a package which include combinators for TH. 2013-05-07 14:55:06 +09:00
Kei Hibino
756ddd1f05 Update to use not wrapped (Singleton) types. 2013-05-07 13:55:16 +09:00
Kei Hibino
a17f9d2b4d Remove ValueProjectable class. 2013-05-07 00:49:03 +09:00
Kei Hibino
92403e9b75 Add a module which includes moved query type. 2013-05-04 17:44:52 +09:00
Kei Hibino
fbc7051c1d Update export list. 2013-05-03 16:49:43 +09:00
Kei Hibino
7462bad615 Update into exhaustive matches. 2013-05-03 16:48:09 +09:00
Kei Hibino
e254f11903 Add placeholder. 2013-05-02 18:44:38 +09:00
Kei Hibino
14c6cd58ca Move the phantom Query type from HDBC-schema-th into relational-join. 2013-05-02 17:21:21 +09:00
Kei Hibino
26f6d70dc2 Add a type alias UExpr, Expr for Singleton value. 2013-05-02 16:19:57 +09:00
Kei Hibino
e44675e0f6 Projectable into both Projection and Expr. 2013-05-02 14:15:11 +09:00
Kei Hibino
a820d1c86b Rename projection path type. 2013-04-28 13:55:13 +09:00
Kei Hibino
eccc794f82 Add relational-join package. 2013-04-27 04:22:39 +09:00