Commit 57b3ae0
committed
Compatibility with Stackage lts-20.26 (GHC 9.2).
The main task here is to make `doc-images-opencv` work,
which is this package's way to generate nice documentation images
into the Haddocks, from code that's in the Haddocks.
For that, this commit:
* Deletes copy-pasted + modified module from `haskell-src-meta`,
`Language.Haskell.Meta.Syntax.Translate`, since as per the commit mentioned in
* bmillwood/haskell-src-meta#54
* haskell-party/haskell-src-meta#3 (comment)
* haskell-party/haskell-src-meta@5c69c3a
the necessary `DataKinds` changes were merged upstream.
The commit suggests it's in >= 0.8.3, so that's what's added in the `.cabal` file.
* Replaces all occurrences of `*` by `Type` from `Data.Kind` to fix
all `-Wstar-is-type` warnings
(see also https://ghc-proposals.readthedocs.io/en/latest/proposals/0143-remove-star-kind.html).
This is necessary because the upstream `haskell-src-meta` above
does not support `*` but does support `Type`; it would print:
Language.Haskell.Meta.Syntax.Translate.toType: not implemented: TyStar ()1 parent a3d96c9 commit 57b3ae0
File tree
29 files changed
+90
-730
lines changed- doc
- Language/Haskell/Meta/Syntax
- opencv-extra
- opencv
- src/OpenCV
- Core
- Types
- Mat
- ImgProc
- Internal
- Core/Types
- Mat
- C
- ImgProc
- MiscImgTransform
29 files changed
+90
-730
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
272 | | - | |
| 272 | + | |
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
| |||
0 commit comments