hPDB 1.1.2 → 1.2.0
raw patch · 4 files changed
+10/−10 lines, 4 filesdep +taggeddep ~iterablePVP ok
version bump matches the API change (PVP)
Dependencies added: tagged
Dependency ranges changed: iterable
API changes (from Hackage documentation)
- Bio.PDB: itlength :: Iterable a b => b -> a -> Int
+ Bio.PDB: itlength :: Iterable a b => Proxy * b -> a -> Int
- Bio.PDB.Iterable: itlength :: Iterable a b => b -> a -> Int
+ Bio.PDB.Iterable: itlength :: Iterable a b => Proxy * b -> a -> Int
Files
- Bio/PDB/Iterable/Utils.hs +5/−4
- README.md +1/−1
- changelog +2/−3
- hPDB.cabal +2/−2
Bio/PDB/Iterable/Utils.hs view
@@ -7,6 +7,7 @@ numModels) where +import Data.Proxy(Proxy) import Bio.PDB.Structure import Bio.PDB.Iterable.Instances @@ -18,17 +19,17 @@ -- | Number of all atoms within the structure. numAtoms :: Iterable a Atom => a -> Int-numAtoms = itlength (undefined :: Atom)+numAtoms = itlength (undefined :: Proxy Atom) -- | Number of all residues within the structure. numResidues :: Iterable a Residue => a -> Int-numResidues = itlength (undefined :: Residue)+numResidues = itlength (undefined :: Proxy Residue) -- | Number of all chains within the structure. numChains :: Iterable a Chain => a -> Int-numChains = itlength (undefined :: Chain)+numChains = itlength (undefined :: Proxy Chain) -- | Number of all models within the structure. numModels :: Iterable a Model => a -> Int-numModels = itlength (undefined :: Model)+numModels = itlength (undefined :: Proxy Model)
README.md view
@@ -2,7 +2,7 @@ ==== Haskell PDB file format parser. -[](https://travis-ci.org/BioHaskell/hPDB)+[](https://travis-ci.org/BioHaskell/hPDB) [](https://hackage.haskell.org/package/hPDB)
changelog view
@@ -1,8 +1,7 @@ -*-Changelog-*- -1.1.2 Apr 2014- * Workaround GHC 7.8 SpecConstr bug: #8960. SpecConstr disabled in- Bio.PDB.EventParser.PDBEventParser.+1.2.0 May 2014+ * Iterable 3.0 1.1.1 Jan 2014 * Exposed PDBWritable class for all objects that can be written to PDB
hPDB.cabal view
@@ -1,5 +1,5 @@ name: hPDB-version: 1.1.2+version: 1.2.0 synopsis: Protein Databank file format library homepage: https://github.com/BioHaskell/hPDB stability: stable@@ -57,7 +57,7 @@ Library ghc-options: -fspec-constr-count=4 -O3 - build-depends: base>=4.0, base <4.8, ghc-prim, directory, mtl, template-haskell, vector, AC-Vector, containers, deepseq, QuickCheck >= 2.5.0.0, text>=0.11.1.13, iterable >= 2.0, parallel >= 3.0.0.0, bytestring, zlib, Octree>= 0.5+ build-depends: base>=4.0, base <4.8, ghc-prim, directory, mtl, template-haskell, vector, AC-Vector, containers, deepseq, QuickCheck >= 2.5.0.0, text>=0.11.1.13, iterable >= 3.0, tagged >= 0.7, parallel >= 3.0.0.0, bytestring, zlib, Octree>= 0.5 if flag(have-sse2) ghc-options: -msse2 if flag(have-mmap)