narc
Query SQL databases using Nested Relational Calculus embedded in Haskell.
Narc is an embedded language for querying SQL databases,
which permits using the ``nested relational'' model, a more
flexible model than the traditional relational model of SQL
databases. In spite of this richer data model, queries are
transformed into SQL to run against standard databases.
To use the language, express a query using the combinators
like @foreach@, @table@, @having@, @singleton@ and so on.
Wrap this in a call to @narcToSQLString@ to get a string
that can be sent to a SQL database.
To send a query directly to an HDBC connection, import
the module @Database.Narc.HDBC@ and use its @run@ function,
passing it an HDBC connection and a Narc query. The result
is an IO action that returns a 2-D list of result values
in HDBC's usual format.
| version | uploaded | uploader | changes | |
|---|---|---|---|---|
| 0.1.3 | 2011-08-09 03:29 UTC | EzraCooper | +375/−280 lines, 16 filesPVP: major bump suggested | |
| 0.1.2 | 2011-08-01 21:25 UTC | EzraCooper | +8/−6 lines, 2 filesdep ~base | |
| 0.1.1 | 2011-08-01 19:59 UTC | EzraCooper | +2126/−2141 lines, 43 filesdep ~base | |
| 0.1 | 2011-07-07 13:05 UTC | EzraCooper | +2447/−0 lines, 26 filesdep +HDBCdep +HUnitdep +QuickChecksetup-changed |
Dependencies of narc-0.1.3
HDBC >=0 2.4.0.4 → 2.4.0.5
| 2026-05-21 02:42 UTC | 2.4.0.5 | +4/−4 lines, 1 filesdep ~timePVP: major bump suggested |
| 2022-02-16 23:38 UTC | 2.4.0.4 | +71/−53 lines, 7 filesdep −testpackdep ~timenew-uploaderPVP: minor bump suggested |
| 2019-09-27 18:18 UTC | 2.4.0.3 | +11/−21 lines, 3 filesdep ~timenew-uploaderPVP: major bump suggested |
| 2017-08-21 15:18 UTC | 2.4.0.2 | +8/−5 lines, 2 filesdep ~timePVP: major bump suggested |
| 2015-03-29 08:24 UTC | 2.4.0.1 | +60/−17 lines, 6 filesdep ~timenew-uploader |
showing 5 of 27 versions
HUnit >=0 1.6.1.0 → 1.6.2.0
| 2021-01-19 18:27 UTC | 1.6.2.0 | +48/−42 lines, 5 filesdep ~call-stackPVP: major bump suggested |
| 2020-10-31 12:09 UTC | 1.6.1.0 | +35/−21 lines, 4 filesPVP ok |
| 2017-03-20 01:42 UTC | 1.6.0.0 | +9/−5 lines, 4 filesdep ~basePVP ok |
| 2016-10-16 03:35 UTC | 1.5.0.0 | +47/−27 lines, 5 filesPVP ok |
| 2016-10-07 03:13 UTC | 1.4.0.0 | +761/−778 lines, 12 filesdep +call-stackPVP ok |
showing 5 of 22 versions
QuickCheck >=0 2.18.0.0 → 2.19.0.0
| 2026-09-16 11:18 UTC | 2.19.0.0 | +67/−41 lines, 10 filesdep +OneTuplePVP ok |
| 2026-02-26 12:42 UTC | 2.18.0.0 | +826/−542 lines, 23 filesPVP ok |
| 2025-10-13 12:40 UTC | 2.17.1.0 | +18/−8 lines, 4 filesdep ~randomPVP: major bump suggested |
| 2025-10-07 12:26 UTC | 2.17.0.0 | +667/−129 lines, 14 filesdep +data-array-bytedep +hintdep +splitdep −ghc-primdep −old-localedep −old-timedep ~basedep ~randomdep ~template-haskellPVP ok |
| 2025-06-17 07:53 UTC | 2.16.0.0 | +477/−86 lines, 15 filesdep ~basenew-uploaderPVP ok |
showing 5 of 66 versions
base >=4 && <5 4.22.0.0 → 4.22.1.0
| 2026-12-01 12:38 UTC | 4.22.1.0 | +388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested |
| 2025-12-19 11:52 UTC | 4.22.0.0 | +886/−215 lines, 28 filesdep ~ghc-internalPVP ok |
| 2026-03-27 12:26 UTC | 4.21.2.0 | +10/−3 lines, 4 filesdep ~ghc-internalPVP ok |
| 2025-12-27 10:31 UTC | 4.21.1.0 | +17/−5 lines, 4 filesdep ~ghc-internalPVP ok |
| 2024-12-16 09:24 UTC | 4.21.0.0 | +1170/−396 lines, 39 filesdep ~ghc-internalPVP ok |
showing 5 of 61 versions
mtl >=0 2.3.1 → 2.3.2
| 2025-12-08 04:58 UTC | 2.3.2 | +112/−21 lines, 12 filesdep ~basenew-uploaderPVP: major bump suggested |
| 2022-10-31 21:28 UTC | 2.3.1 | +188/−33 lines, 8 filesdep ~basePVP: major bump suggested |
| 2022-05-07 20:34 UTC | 2.3 | +1284/−520 lines, 29 filesdep ~basedep ~transformersnew-uploaderPVP ok |
| 2018-02-24 22:15 UTC | 2.2.2 | +152/−36 lines, 14 filesdep ~basePVP: major bump suggested |
| 2014-06-02 02:22 UTC | 2.2.1 | +179/−4 lines, 8 filesdep ~basedep ~transformersPVP: major bump suggested |
showing 5 of 20 versions
random >=0 1.3.0 → 1.3.1
| 2025-04-04 14:25 UTC | 1.3.1 | +15/−6 lines, 3 filesPVP ok |
| 2025-01-06 04:03 UTC | 1.3.0 | +2410/−538 lines, 16 filesdep +data-array-bytedep ~basedep ~transformersPVP ok |
| 2024-12-14 20:31 UTC | 1.2.1.3 | +22/−37 lines, 3 filesdep −doctestdep −mwc-randomdep −unliftiodep ~basedep ~containersdep ~primitivePVP ok |
| 2024-02-04 16:26 UTC | 1.2.1.2 | +17/−12 lines, 2 filesdep ~doctestdep ~tastyPVP: major bump suggested |
| 2022-05-09 02:32 UTC | 1.2.1.1 | +8/−9 lines, 3 filesdep −ghc-byteorderdep ~bytestringdep ~doctestdep ~mtlPVP ok |
showing 5 of 15 versions
Reverse dependencies
1 packages depend on narc