packages feed

csound-expression-dynamic 0.3.8 → 0.3.9

raw patch · 2 files changed

+5/−7 lines, 2 filesdep ~basedep ~data-fixPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base, data-fix

API changes (from Hackage documentation)

Files

csound-expression-dynamic.cabal view
@@ -1,5 +1,5 @@ Name:          csound-expression-dynamic-Version:       0.3.8+Version:       0.3.9 Cabal-Version: >= 1.22 License:       BSD3 License-file:  LICENSE
src/Csound/Dynamic/Types/Exp.hs view
@@ -198,10 +198,6 @@ type ArrSize a = [a] type ArrIndex a = [a] -isEmptyExp :: E -> Bool-isEmptyExp e = isNothing (ratedExpDepends re) && (ratedExpExp re == EmptyExp)-    where re = unFix e- -- Named variable data Var     = Var@@ -394,8 +390,7 @@ instance Hashable InstrId  -#if MIN_VERSION_hashable(1,3,4)-#else+#if !MIN_VERSION_hashable(1,3,4) instance Hashable1 IM.IntMap #endif deriving instance Generic1 IM.IntMap@@ -422,6 +417,9 @@ $(deriveShow1 ''Inline) $(deriveShow1 ''MainExp) $(deriveShow1 ''RatedExp)++isEmptyExp :: E -> Bool+isEmptyExp (Fix re) = isNothing (ratedExpDepends re) && (ratedExpExp re == EmptyExp)  -------------------------------------------------------------- -- comments