Skip to content

Commit ccd725a

Browse files
committed
Merge remote-tracking branch 'origin/develop' into HEAD
2 parents 76033e9 + 12e1510 commit ccd725a

23 files changed

+436
-355
lines changed

.github/workflows/haskell.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: github-action
22

3-
on: [push, pull_request]
3+
on: [push, pull_request]
44

55
jobs:
66
build:
77
strategy:
88
matrix:
9-
ghc: ['8.0.2', '8.2.2', '8.4.4', '8.6.5', '8.8.4', '8.10.2']
9+
ghc: ['8.0.2', '8.2.2', '8.4.4', '8.6.5', '8.8.4', '8.10.7', '9.0.1', '9.2.2']
1010
os: ['ubuntu-latest', 'macos-latest']
1111
exclude:
1212
# There are some linker warnings in 802 on darwin that
@@ -19,7 +19,7 @@ jobs:
1919
name: GHC ${{ matrix.ghc }} on ${{ matrix.os }}
2020
steps:
2121
- uses: actions/checkout@v2
22-
- uses: actions/setup-haskell@v1
22+
- uses: haskell/actions/setup@v1
2323
with:
2424
ghc-version: ${{ matrix.ghc }}
2525
- name: Cache
@@ -42,6 +42,6 @@ jobs:
4242
- name: Build
4343
run: cabal build --enable-tests --enable-benchmarks all
4444
- name: Run tests
45-
run: cabal test all
45+
run: cabal test --enable-tests all
4646
- name: Build Docs
4747
run: cabal haddock

.travis.yml

-171
This file was deleted.

ChangeLog.md

+39-8
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,62 @@
66

77
* `PatchDMapWithMove` supports moves with a patch.
88

9+
## 0.0.7.0 - 2022-06-23
10+
11+
* Use `commutative-semigroups` for `Commutative`, making `Additive` a
12+
deprecated alias.
13+
14+
## 0.0.6.0 - 2022-06-10
15+
16+
* Add `PatchOrReplacement`, patch which either is some other patch type or a
17+
new replacement value.
18+
19+
* Support GHC 9.2
20+
21+
## 0.0.5.2 - 2022-01-09
22+
23+
* Correct field order of `PatchMapWithMove.NodeInfo`.
24+
25+
When we this was reimplemented as a pattern synonym wrapper in 0.0.5.0, we
26+
accidentally flipped the argument order. Reversing it now to match 0.0.4.0
27+
and restore compatibility. The previous releases in the 0.0.5.\* series will
28+
correspondingly be deprecated.
29+
30+
## 0.0.5.1 - 2021-12-28
31+
32+
* New dep of `base-orphans` for old GHC to get instances honestly instead of
33+
via `monoidal-containers`.
34+
35+
## 0.0.5.0 - 2021-12-17
36+
37+
* `Additive` now lives in `Data.Semigroup.Additive`, but is still reexported
38+
from `Data.Patch` for compatability.
39+
940
* Rewrite `PatchMapWithMove` in terms of `PatchMapWithPatchingMove`.
1041
Care is taken to make this not a breaking change.
1142
In particular, `PatchMapWithMove` is a newtype of `PatchMapWithPatchingMove`, as is the `NodeInfo` and `From` of `PatchMapWithPatchingMove`'s versions of those.
1243
There are complete constructor and field patterns too, and everything is
1344
exported under the newtype as real constructors and fields would be.
1445

15-
## 0.0.4.0
46+
## 0.0.4.0 - 2021-04-20
1647

1748
* Enable PolyKinds
1849

19-
## 0.0.3.2
50+
## 0.0.3.2 - 2020-11-06
2051

2152
* Update version bounds
2253

23-
## 0.0.3.1
54+
## 0.0.3.1 - 2020-02-05
2455

2556
* Replace `fromJust` with something easier to debug.
2657

27-
## 0.0.3.0
58+
## 0.0.3.0 - 2020-02-05
2859

2960
* Create `PatchMapWithPatchingMove` variant which supports moves with a patch.
3061

3162
* Create `DecidablyEmpty` subclass of `Monoid`.
3263

33-
## 0.0.2.0
64+
## 0.0.2.0 - 2020-01-17
3465

3566
* Consistently provide:
3667

@@ -42,16 +73,16 @@
4273

4374
for `PatchMap`, `PatchIntMap`, and `PatchMapWithMove`.
4475

45-
## 0.0.1.0
76+
## 0.0.1.0 - 2020-01-09
4677

4778
* Support older GHCs with `split-these` flag.
4879

4980
* Additional instances for the `Group` class for basic types.
5081

51-
## 0.0.0.1
82+
## 0.0.0.1 - 2020-01-08
5283

5384
* Remove unneeded dependencies
5485

55-
## 0.0.0.0
86+
## 0.0.0.0 - 2020-01-08
5687

5788
* Extract patching functionality from Reflex.

cabal.haskell-ci

-14
This file was deleted.

dep/reflex-platform/default.nix

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,2 @@
11
# DO NOT HAND-EDIT THIS FILE
2-
let fetch = { private ? false, fetchSubmodules ? false, owner, repo, rev, sha256, ... }:
3-
if !fetchSubmodules && !private then builtins.fetchTarball {
4-
url = "https://github.com/${owner}/${repo}/archive/${rev}.tar.gz"; inherit sha256;
5-
} else (import <nixpkgs> {}).fetchFromGitHub {
6-
inherit owner repo rev sha256 fetchSubmodules private;
7-
};
8-
in import (fetch (builtins.fromJSON (builtins.readFile ./github.json)))
2+
import (import ./thunk.nix)

dep/reflex-platform/github.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"owner": "reflex-frp",
33
"repo": "reflex-platform",
4-
"branch": "master",
4+
"branch": "develop",
55
"private": false,
6-
"rev": "c9d11db1b98855fe8ab24a3ff6a5dbe0ad902ad9",
7-
"sha256": "0sfzkqdvyah5mwvmli0wq1nl0b8cvk2cmfgfy4rz57wv42x3099y"
6+
"rev": "ac66356c8839d1dc16cc60887c2db5988a60e6c4",
7+
"sha256": "0zk8pf72lid6cqq4mlr1mcwh6zd5lz9i83kw519aci6mfba1afvq"
88
}

dep/reflex-platform/thunk.nix

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# DO NOT HAND-EDIT THIS FILE
2+
let fetch = { private ? false, fetchSubmodules ? false, owner, repo, rev, sha256, ... }:
3+
if !fetchSubmodules && !private then builtins.fetchTarball {
4+
url = "https://github.com/${owner}/${repo}/archive/${rev}.tar.gz"; inherit sha256;
5+
} else (import <nixpkgs> {}).fetchFromGitHub {
6+
inherit owner repo rev sha256 fetchSubmodules private;
7+
};
8+
json = builtins.fromJSON (builtins.readFile ./github.json);
9+
in fetch json

0 commit comments

Comments
 (0)