packages feed

hetero-dict 0.1.0.0 → 0.1.0.1

raw patch · 5 files changed

+12/−11 lines, 5 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -1,4 +1,8 @@-# Revision history for hetero-array+# Revision history for hetero-dict++## 0.1.0.1  -- 2016-05-31++* fix DynDict's Show instance.  ## 0.1.0.0  -- 2016-05-31 
Data/Hetero/DynDict.hs view
@@ -29,7 +29,7 @@ -- 12 -- > get [key|bar|] d -- "baz"--- > let d' = set [key|foo] 13 d+-- > let d' = set [key|foo|] 13 d -- > get [key|foo|] d' -- 13 -- @@@ -145,6 +145,6 @@         showDict (i + 1) (unsafeCoerce $ DynDict t :: DynDict kvs)  instance ShowDynDict kvs => Show (DynDict kvs) where-    show d = "Dict {" +++    show d = "DynDict {" ++         (intercalate ", " . map (\(k, v, t) -> k ++ " = " ++ v ++ " :: " ++ show t) $ showDict 0 d)         ++ "}"
Data/Hetero/KVList.hs view
@@ -1,13 +1,9 @@-{-# LANGUAGE BangPatterns           #-}-{-# LANGUAGE CPP                    #-} {-# LANGUAGE ConstraintKinds        #-} {-# LANGUAGE DataKinds              #-} {-# LANGUAGE FlexibleContexts       #-} {-# LANGUAGE FlexibleInstances      #-}-{-# LANGUAGE FunctionalDependencies #-} {-# LANGUAGE GADTs                  #-} {-# LANGUAGE KindSignatures         #-}-{-# LANGUAGE MultiParamTypeClasses  #-} {-# LANGUAGE ScopedTypeVariables    #-} {-# LANGUAGE TemplateHaskell        #-} {-# LANGUAGE TypeFamilies           #-}
README.md view
@@ -1,6 +1,7 @@ hetero-dict: fast heterogeneous data structures =============================================== +[![Hackage](https://img.shields.io/hackage/v/hetero-dict.svg?style=flat)](http://hackage.haskell.org/package/hetero-dict) [![Travis-CI](https://travis-ci.org/winterland1989/hetero-dict.svg)](https://travis-ci.org/winterland1989/hetero-dict)  This package provide two flavor fast and easy to use heterogeneous data structures:@@ -35,7 +36,7 @@ 12 > get [key|bar|] d "baz"-> let d' = set [key|foo] 13 d+> let d' = set [key|foo|] 13 d > get [key|foo|] d' 13 ```
hetero-dict.cabal view
@@ -1,7 +1,7 @@ name:                hetero-dict-version:             0.1.0.0-synopsis:            Fast read-only heterogeneous data structures-description:         Fast read-only heterogeneous data structures+version:             0.1.0.1+synopsis:            Fast heterogeneous data structures+description:         Fast heterogeneous data structures license:             MIT license-file:        LICENSE author:              Hirotomo Moriwaki <philopon.dependence@gmail.com>,