Skip to content

Commit 7cdebb2

Browse files
Updating GHC support to 9.0.* & 9.2.*, minor release
1 parent bcaf7cc commit 7cdebb2

File tree

7 files changed

+20
-14
lines changed

7 files changed

+20
-14
lines changed

ChangeLog.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Revision history for commutative-multi-string-alignment
22

3-
## 0.1.0.0 -- 2018-03-18
3+
## 1.1.0 -- 2022-02-23
4+
5+
* Added support for GHC `9.0.*` and `9.2.*`
6+
* Added test suites
7+
* Added reproducibility script, to replicate results of published paper
8+
* Added preprint LaTeX files for [![DOI:10.1186/s12859-020-03595-2](https://zenodo.org/badge/DOI/10.1186/s12859-020-03595-2.svg)](https://doi.org/10.1186/s12859-020-03595-2)
9+
* Added `LICENSE`
10+
* Updated `README`
11+
12+
13+
## 0.1.0 -- 2018-03-18
414

515
* First version. No functionality, just compiles.

cabal.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ allow-newer:
66

77
packages: .
88

9-
with-compiler: ghc-8.10.7
9+
with-compiler: ghc-9.2.1

efficient-implied-alignment.cabal

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ category: Algorithms
33
build-type: Simple
44

55
name: efficient-implied-alignment
6-
version: 1.0.0
6+
version: 1.1.0
77

88
author: Alex Washburn
99
maintainer: [email protected]
@@ -26,8 +26,9 @@ bug-reports: https://github.com/recursion-ninja/efficient-implied-alignment/i
2626

2727
tested-with:
2828
GHC == 8.8.4
29-
GHC == 8.10.4
30-
GHC == 9.0.1
29+
GHC == 8.10.7
30+
GHC == 9.0.2
31+
GHC == 9.2.1
3132

3233
extra-source-files:
3334
ChangeLog.md
@@ -68,7 +69,6 @@ common ghc-flags
6869
-- -Wmissing-deriving-strategies
6970
-Wmissing-fields
7071
-Wmissing-home-modules
71-
-Wmissing-monadfail-instances
7272
-Wmissing-signatures
7373
-Wnoncanonical-monad-instances
7474
-Wnoncanonical-monoid-instances
@@ -90,7 +90,6 @@ common ghc-flags
9090
-Wderiving-defaults
9191
-Wunused-packages
9292

93-
9493
library
9594

9695
import:
@@ -107,7 +106,6 @@ library
107106
, deepseq
108107
, dlist
109108
, hashable
110-
, integer-gmp
111109
, keys
112110
, lens
113111
, matrices
@@ -121,7 +119,6 @@ library
121119
, scientific
122120
, semigroupoids
123121
, text >=1.2
124-
, transformers
125122
, validation
126123
, vector
127124
, vector-instances >=3.4
@@ -261,7 +258,6 @@ executable draw-pre-order-figure
261258
, diagrams-lib
262259
, diagrams-svg
263260
, keys
264-
, lens
265261

266262
default-language: Haskell2010
267263

src/Alignment/Internal.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ deriveAlignment pAlignment pContext cContext = alignment
131131
where
132132
alignment = extractVector {-- . traceResult --} $ foldlWithKey f ([], toList cContext, toList pContext) pAlignment
133133

134-
extractVector e@ (x,ys,zs) =
134+
extractVector e@(x,ys,zs) =
135135
case (ys, zs) of
136136
([],[]) -> fromNonEmpty . NE.fromList $ reverse x
137137
_ -> error $ unlines

src/Alignment/Pairwise/Internal.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ insertGaps gap lGaps rGaps meds
468468
ins = insertElement gap gap
469469
del = deleteElement gap gap
470470

471-
xs !> i = maybe (error "Tried to index an empty alignment context when reinserting gaps") (!i) xs
471+
xs !> i = maybe (error "Tried to index an empty alignment context when reinserting gaps") (! i) xs
472472

473473
newVector = EV.create $ do
474474
mVec <- MV.unsafeNew newLength

src/Numeric/Extended/Natural.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ instance Num ExtendedNatural where
132132
| lhs <= rhs = minBound
133133
| otherwise = Cost $ x - y
134134

135-
lhs@(Cost x) * rhs@ (Cost y)
135+
lhs@(Cost x) * rhs@(Cost y)
136136
-- If either value is infinite,
137137
-- then the product is infinite
138138
| lhs == infinity = infinity

stack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
allow-newer: true
22

3-
compiler: ghc-8.10.4
3+
compiler: ghc-9.2.1
44

55
compiler-check: match-exact
66

0 commit comments

Comments
 (0)