packages feed

prizm 2.0.0 → 2.0.1

raw patch · 2 files changed

+12/−18 lines, 2 filesdep ~HUnitdep ~QuickCheckdep ~basePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: HUnit, QuickCheck, base, convertible, mono-traversable, test-framework, test-framework-hunit, test-framework-quickcheck2

API changes (from Hackage documentation)

+ Data.Prizm.Color: class AdjustableColor c
+ Data.Prizm.Color: class BlendableColor c where (<~>) l r = interpolate 50 (l, r) shade c w = interpolate (pctClamp w) (c, black) tint c w = interpolate (pctClamp w) (c, white)
+ Data.Prizm.Color: class PresetColor c

Files

prizm.cabal view
@@ -1,5 +1,5 @@ name:                prizm-version:             2.0.0+version:             2.0.1 synopsis:            Convert colors to different color spaces, interpolate colors, and transform colors homepage:            https://github.com/ixmatus/prizm license:             BSD3@@ -77,11 +77,11 @@    build-depends:                 prizm,-                base                       >= 4,-                QuickCheck                 >= 2.5,-                HUnit                      >= 1.5,-                convertible                >= 1.1,-                test-framework             >= 0.8,-                mono-traversable           >= 1.0,-                test-framework-quickcheck2 >= 0.3.0,-                test-framework-hunit       >= 0.3.0+                base,+                QuickCheck,+                HUnit,+                convertible,+                test-framework,+                mono-traversable,+                test-framework-quickcheck2,+                test-framework-hunit
src/Data/Prizm/Color.hs view
@@ -25,16 +25,10 @@ module Data.Prizm.Color ( -- * Color Transformations-  interpolate-, (<~>)-, shade-, tint-, lightness-, chroma-, hue+  BlendableColor(..)+, AdjustableColor(..) -- * Preset Colors-, white-, black+, PresetColor(..) -- * Individual Color Spaces -- ** CIE Color Space , module Data.Prizm.Color.CIE