Skip to content

Commit 11e1f30

Browse files
committed
wip
Change-Id: Ia839a09ef05f9db520764067b4a8183f6a6a6964
1 parent 031c62c commit 11e1f30

File tree

14 files changed

+8835
-196
lines changed

14 files changed

+8835
-196
lines changed

.ghci

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
:set -XDeriveAnyClass -XDeriveGeneric -XTemplateHaskell

bare_shell.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
let pkgs = (builtins.getFlake "nixpkgs").legacyPackages.x86_64-linux;
2+
in
3+
pkgs.mkShell { buildInputs = with pkgs; [ghc cabal-install postgresql postgresql.dev zlib
4+
pkg-config];}

cabal.project

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
packages: .
22
constraints: ansi-wl-pprint < 1.0.0
33
allow-newer: base16:base, base16:deepseq, base16:text
4+
5+
tests: true

diff

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
2+
commit b384871b242cef11e717f2671e0128f75887e3b0
3+
Author: remeike <[email protected]>
4+
Date: Mon Aug 5 09:07:59 2024 -0400
5+
6+
Fix regex match operator (#336)
7+
8+
commit e214b75565439461302342083a9bca59894cf34f
9+
Author: Shane <[email protected]>
10+
Date: Tue Jul 30 18:08:25 2024 +0100
11+
12+
Remove `Table Expr b` constraint from `materialize` (#334)
13+
14+
Not only is this not necessary, it can actually act as a barrier to optimisation. The reason I added it was because it seemed like a cheap way to stop someone writing `query' <- materialize query id` — if you return the materialized query from `materialized`, it won't work. Really we would need some sort of `runST` type trick here to do this properly, but that would be too invasive a change.
15+
16+
commit 149ec23c6f32ff677940ca39d6598cfc3a9593bb
17+
Author: Shane <[email protected]>
18+
Date: Mon Jul 15 11:54:22 2024 +0100
19+
20+
Add `aggregate{Just,Left,Right,This,That,Those,Here,There}Table{,1}` aggregators (#333)
21+
22+
These provide another way to do aggregation of `MaybeTable`, `EitherTable` and `TheseTable`s than the existing `aggregate{Maybe,Either,These}Table`.
23+
24+
commit dbda2da7bc94da0b4118be1ff689aab67f2f56ed
25+
Author: Teo Camarasu <[email protected]>
26+
Date: Tue Jul 2 16:41:09 2024 +0100
27+
28+
docs: fix haddock link (#332)
29+
30+
Previously this linked to Prelude.fromIntegral, but we mean Rel8.Num.fromIntegral
31+
32+
commit 6b0721b4ca53f228775501bbe7e56722aec27a47
33+
Author: Shane <[email protected]>
34+
Date: Mon Jul 1 12:56:48 2024 +0100
35+
36+
Expose `listOf` and `nonEmptyOf` (#330)
37+
38+
It was an oversight that these were ever not exported.
39+
40+
commit d8ca92fe85ceec0ff4cf55c9156678bd55a23fc1
41+
Author: Teo Camarasu <[email protected]>
42+
Date: Thu Jun 20 17:28:57 2024 +0100
43+
44+
Fix code block format (#329)
45+
46+
Without the indentation, this doesn't parse properly
47+
48+
commit 21b17334864a2abbeac3f953710f9f0e6ac95f10
49+
Author: Teo Camarasu <[email protected]>
50+
Date: Wed May 29 15:56:49 2024 +0100
51+
52+
docs: remove empty 'where' clause (#327)
53+
54+
This hanging where statement seems like a typo or the ghost of a proper where long gone
55+
56+
commit 6ec03667c472b102f9e447c682cc00c680f1a152
57+
Author: abigailalice <[email protected]>
58+
Date: Wed Apr 3 07:57:50 2024 -0700
59+
60+
Fix some markup in haddocks (#318)
61+
62+
Fixes #315.

rel8.cabal

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ library
3131
, bytestring
3232
, case-insensitive
3333
, comonad
34+
, containers
3435
, contravariant
3536
, data-textual
3637
, hasql >= 1.6.1.2 && < 1.9

result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/nix/store/z7sskjfby4bwgamzqyx51nlzchzdszmb-ghc-shell-for-packages

src/Rel8/Schema/HTable/Label.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{-# language TypeFamilies #-}
88

99
module Rel8.Schema.HTable.Label
10-
( HLabel, hlabel, hrelabel, hunlabel
10+
( HLabel(HLabel), hlabel, hrelabel, hunlabel
1111
, hproject
1212
)
1313
where

0 commit comments

Comments
 (0)