Commit dc87de2
committed
Upgrade to LTS 24.34 (GHC 9.10.3), fix all warnings
- Upgrade stack resolver from lts-22.11 (GHC 9.6.4) to lts-24.34 (GHC 9.10.3)
- Fix all compilation warnings across entire monorepo
- Replace deprecated * with Type from Data.Kind
- Add TypeOperators extension where ~ is used
- Remove redundant imports (foldl' now in Prelude, Data.Monoid, Debug.Trace)
- Replace partial head with safe pattern matching
- Fix deprecated ghc-options (-auto-all, -caf-all, -rtsopts/-threaded for libs)
- Move test functions from library code to test files
- Fix incomplete pattern matches
- Add missing other-modules in executable section
- Widen dependency bounds for GHC 9.10 compatibility1 parent a7ba4e1 commit dc87de2
19 files changed
Lines changed: 172 additions & 130 deletions
File tree
- packages
- src/VirMat
- Core
- Distributions/GrainSize
- IO/Export/ANG
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
23 | 39 | | |
24 | 40 | | |
25 | 41 | | |
| |||
- hammer.cabal+4-6
- src/Hammer/Math/Array.hs+1-92
- src/Hammer/Math/Optimum.hs-10
- src/Hammer/Math/SortSeq.hs-1
- src/Hammer/Math/SparseMatrix.hs+3-3
- src/Hammer/MicroGraph/GraphBuilder.hs+5-48
- src/Hammer/MicroGraph/Types.hs+11-23
- src/Hammer/VTK.hs+2-2
- src/Hammer/VoxConn/Types.hs+1
- test/ArrayTest.hs+104
- test/OptimumTest.hs+17
- test/TypesTest.hs+30
- sledge.cabal+4-3
- src/File/ANGReader.hs-1
- src/File/ANGWriter.hs-1
- src/File/CTFReader.hs-1
- src/File/CTFWriter.hs-1
- src/Texture/Bingham.hs+11-54
- src/Texture/Bingham/Constant.hs+4-12
- src/Texture/Orientation.hs+7-3
- src/Texture/TesseractGrid.hs+4-26
- test/BinghamConstantTest.hs+16
- test/BinghamTest.hs+68
- test/TesseractGridTest.hs+37
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
47 | | - | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
0 commit comments