packages feed

hPDB 1.2.0.8 → 1.2.0.9

raw patch · 3 files changed

+4/−3 lines, 3 files

Files

Bio/PDB/Structure/Elements.hs view
@@ -14,6 +14,7 @@                                   vanDerWaalsRadius, maxVanDerWaalsRadius) where  import Prelude hiding (error, String)+import qualified Prelude     as S (String) import Data.ByteString.Char8 as BS import System.IO.Unsafe(unsafePerformIO) import System.IO(stderr)@@ -26,7 +27,7 @@ -- TODO: May be better as a newtype, and make sure that other modules use this declaration  -- | Internal method that reports error to stderr, and return given default value.-defaultingLookup :: BS.ByteString -> v -> HashMap String v -> Element -> v+defaultingLookup :: BS.ByteString -> v -> HashMap S.String v -> Element -> v defaultingLookup msg defaultValue dict e =       fromMaybe withWarning     $ M.lookup (BS.unpack e) dict
changelog view
@@ -1,5 +1,5 @@ -*-Changelog-*--1.2.0.8  Jun 2016+1.2.0.9  Jun 2016 	* Use hashmap for element properties. 	  Great thanks to Ben Gamari: 	  https://ghc.haskell.org/trac/ghc/ticket/917
hPDB.cabal view
@@ -1,5 +1,5 @@ name:                hPDB-version:             1.2.0.8+version:             1.2.0.9 synopsis:            Protein Databank file format library homepage:            https://github.com/BioHaskell/hPDB stability:           stable