packages feed

MissingH 1.1.0 → 1.1.0.1

raw patch · 2 files changed

+10/−5 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

MissingH.cabal view
@@ -1,5 +1,5 @@ Name: MissingH-Version: 1.1.0+Version: 1.1.0.1 License: GPL Maintainer: John Goerzen <jgoerzen@complete.org> Author: John Goerzen
src/Data/BinPacking.hs view
@@ -73,11 +73,16 @@  These functions take a list of size of bins.  If every bin is the same size, you can pass @repeat binSize@ to pass an infinite list of bins if the-same size.  Any surplus bins will simply be ignored. -}+same size.  Any surplus bins will simply be ignored. ++> [size] is the sizes of bins+> [(size, obj)] is the sizes and objects+> result is Either error or results+-} type BinPacker = (Num size, Ord size, Show size, Show obj) => -                  [size]        -- ^ The sizes of bins-               -> [(size, obj)] -- ^ The sizes and objects-               -> Either (BinPackerError size obj) [[(size, obj)]] -- ^ Either error or results+                  [size]        -- The sizes of bins+               -> [(size, obj)] -- The sizes and objects+               -> Either (BinPackerError size obj) [[(size, obj)]] -- Either error or results   {- | Pack objects into bins, preserving order.  Objects will be taken from the