Skip to content

Commit

Permalink
version 0.1.3.22: fix GHC-9 compilation (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
maksbotan authored Jul 6, 2021
1 parent 4dc5ceb commit cd689b3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## [Unreleased]

## [0.1.3.22] - 2021-07-06
### Changed
- `*` -> `Type` for GHC-9.

## [0.1.3.21] - 2021-07-03
### Changed
- Update dependency versions.
Expand Down
2 changes: 1 addition & 1 deletion package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: cobot-io
version: 0.1.3.21
version: 0.1.3.22
github: "biocad/cobot-io"
license: BSD3
category: Bio
Expand Down
8 changes: 4 additions & 4 deletions src/Bio/Sequence/Class.hs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ module Bio.Sequence.Class
import Bio.Sequence.Utilities (Range, checkRange, unsafeEither)
import Control.Lens
import Control.Monad.Except (MonadError, throwError)
import Data.Kind (Constraint)
import Data.Kind (Constraint, Type)
import qualified Data.List as L (length, null)
import Data.Text (Text)
import Data.Vector (Vector)
Expand Down Expand Up @@ -189,9 +189,9 @@ instance IsWeight Double where
-- having not null weights type-safe.
--
class (IsMarking (Marking s), IsWeight (Weight s)) => IsSequence s where
type Element s :: *
type Marking s :: *
type Weight s :: *
type Element s :: Type
type Marking s :: Type
type Weight s :: Type

toSequence :: s -> Sequence (Marking s) (Weight s) (Element s)
fromSequence :: Sequence (Marking s) (Weight s) (Element s) -> s
Expand Down

0 comments on commit cd689b3

Please sign in to comment.