packages feed

nonemptymap 0.0.3.0 → 0.0.4.0

raw patch · 3 files changed

+5/−3 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Data.Map.NonEmpty: fromNonEmpty :: Ord k => NonEmpty (k, a) -> NonEmptyMap k a
+ Data.Map.NonEmpty: toMap :: Ord k => NonEmptyMap k a -> Map k a
+ Data.Map.NonEmpty: toNonEmpty :: NonEmptyMap k a -> NonEmpty (k, a)

Files

README.md view
@@ -1,4 +1,4 @@-# Data.Map.NonEmpty - NonEmptyMap [![Build Status](https://travis-ci.com/ChristopherDavenport/nonemptymap.svg?branch=master)](https://travis-ci.com/ChristopherDavenport/nonemptymap)+# Data.Map.NonEmpty - NonEmptyMap [![Build Status](https://travis-ci.com/ChristopherDavenport/nonemptymap.svg?branch=master)](https://travis-ci.com/ChristopherDavenport/nonemptymap) [![Hackage](https://img.shields.io/hackage/v/nonemptymap.svg)](https://hackage.haskell.org/package/nonemptymap) [![GitHub issues](https://img.shields.io/github/issues/ChristopherDavenport/nonemptymap.svg)](https://github.com/ChristopherDavenport/nonemptymap)  This map implementation is a NonEmptyMap that can be used where that is necessary. Hopefully slowly porting over more and more functions from the containers libraries. 
nonemptymap.cabal view
@@ -1,5 +1,5 @@ name:                nonemptymap-version:             0.0.3.0+version:             0.0.4.0 synopsis:            A NonEmptyMap Implementation description:         This package intends to allow general use of a NonEmptyMap                      which is very beneficial as sometimes you want the functionality
src/Data/Map/NonEmpty.hs view
@@ -24,6 +24,7 @@   -- * Construction   , singleton -- :: (k, a) -> NonEmptyMap k v   , fromList -- :: Ord k => [(k, a)] -> Maybe (NonEmptyMap k a)+  , fromNonEmpty -- :: Ord k => NonEmpty (k, a) -> NonEmptyMap k a   -- * Insertion   , insert -- :: Ord k => k -> a -> NonEmptyMap k a -> NonEmptyMap k a   , insertWith -- :: Ord k => (a -> a -> a) -> k -> a -> NonEmptyMap k a -> NonEmptyMap k a@@ -44,8 +45,9 @@   -- * Size    , size -- :: NonEmptyMap k a -> In   -- * Conversions-  -- * Lists   , toList -- :: NonEmptyMap k a -> [(k, a)]+  , Data.Map.NonEmpty.toNonEmpty -- :: NonEmptyMap k a -> NonEmpty (k, a)+  , toMap -- :: Ord k => NonEmptyMap k a -> Map.Map k a ) where  import qualified Data.Map                   as Map