packages feed

csound-expression 0.3.3 → 0.3.4

raw patch · 3 files changed

+11/−7 lines, 3 filesdep ~BooleanPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: Boolean

API changes (from Hackage documentation)

- CsoundExpr.Base.Arithmetic: (<+>, </>, <*>, <->) :: (X a, X b, X (Opr2 a b)) => a -> b -> Opr2 a b
- CsoundExpr.Base.Boolean: (<*, <=*, >=*, >*) :: (K a, K b) => a -> b -> BoolRate
- CsoundExpr.Base.Boolean: (==*, /=*) :: (K a, K b) => a -> b -> BoolRate
- CsoundExpr.Base.Boolean: minB, maxB :: K a => a -> a -> a
- CsoundExpr.Base.Header: gSr, g0dbfs, gNchnls, gKsmps, gKr :: Irate
- CsoundExpr.Base.Pitch: c, bb, ab, gb, fb, eb, db, cb, bs, b, as, a, gs, g, fs, f, es, e, ds, d, cs :: Score Pitch
+ CsoundExpr.Base.Arithmetic: (<*>) :: (X a, X b, X (Opr2 a b)) => a -> b -> Opr2 a b
+ CsoundExpr.Base.Arithmetic: (<+>) :: (X a, X b, X (Opr2 a b)) => a -> b -> Opr2 a b
+ CsoundExpr.Base.Arithmetic: (<->) :: (X a, X b, X (Opr2 a b)) => a -> b -> Opr2 a b
+ CsoundExpr.Base.Arithmetic: (</>) :: (X a, X b, X (Opr2 a b)) => a -> b -> Opr2 a b
+ CsoundExpr.Base.Boolean: (/=*) :: (K a, K b) => a -> b -> BoolRate
+ CsoundExpr.Base.Boolean: (<*) :: (K a, K b) => a -> b -> BoolRate
+ CsoundExpr.Base.Boolean: (<=*) :: (K a, K b) => a -> b -> BoolRate
+ CsoundExpr.Base.Boolean: (==*) :: (K a, K b) => a -> b -> BoolRate
+ CsoundExpr.Base.Boolean: (>*) :: (K a, K b) => a -> b -> BoolRate
+ CsoundExpr.Base.Boolean: (>=*) :: (K a, K b) => a -> b -> BoolRate
+ CsoundExpr.Base.Boolean: maxB :: K a => a -> a -> a
+ CsoundExpr.Base.Boolean: minB :: K a => a -> a -> a
+ CsoundExpr.Base.Header: g0dbfs :: Irate
+ CsoundExpr.Base.Header: gKr :: Irate
+ CsoundExpr.Base.Header: gKsmps :: Irate
+ CsoundExpr.Base.Header: gNchnls :: Irate
+ CsoundExpr.Base.Header: gSr :: Irate
+ CsoundExpr.Base.Pitch: a :: Score Pitch
+ CsoundExpr.Base.Pitch: ab :: Score Pitch
+ CsoundExpr.Base.Pitch: as :: Score Pitch
+ CsoundExpr.Base.Pitch: b :: Score Pitch
+ CsoundExpr.Base.Pitch: bb :: Score Pitch
+ CsoundExpr.Base.Pitch: bs :: Score Pitch
+ CsoundExpr.Base.Pitch: c :: Score Pitch
+ CsoundExpr.Base.Pitch: cb :: Score Pitch
+ CsoundExpr.Base.Pitch: cs :: Score Pitch
+ CsoundExpr.Base.Pitch: d :: Score Pitch
+ CsoundExpr.Base.Pitch: db :: Score Pitch
+ CsoundExpr.Base.Pitch: ds :: Score Pitch
+ CsoundExpr.Base.Pitch: e :: Score Pitch
+ CsoundExpr.Base.Pitch: eb :: Score Pitch
+ CsoundExpr.Base.Pitch: es :: Score Pitch
+ CsoundExpr.Base.Pitch: f :: Score Pitch
+ CsoundExpr.Base.Pitch: fb :: Score Pitch
+ CsoundExpr.Base.Pitch: fs :: Score Pitch
+ CsoundExpr.Base.Pitch: g :: Score Pitch
+ CsoundExpr.Base.Pitch: gb :: Score Pitch
+ CsoundExpr.Base.Pitch: gs :: Score Pitch

Files

Changelog view
@@ -1,3 +1,5 @@+-> 0.3.4    package Boolean is changed. Keeping dependencies up to date+ -> 0.3.3    score representation is changed (temporal-media package)  -> 0.3.2    adds new GEN functionality:
csound-expression.cabal view
@@ -1,5 +1,5 @@ Name:          csound-expression-Version:       0.3.3+Version:       0.3.4 Cabal-Version: >= 1.2 License:       BSD3 License-File:  LICENSE@@ -30,7 +30,7 @@ Library   Build-Depends:         base >= 4, base < 5, containers, mtl >= 2.0, pretty, -        filepath, directory, process >= 1, Boolean, temporal-music-notation >= 0.2+        filepath, directory, process >= 1, Boolean >= 0.1.1, temporal-music-notation >= 0.2   Hs-Source-Dirs:      src/   Exposed-Modules:         CsoundExpr
src/CsoundExpr/Translator/Cs/CsBoolean.hs view
@@ -1,6 +1,6 @@-{-# LANGUAGE -        MultiParamTypeClasses, +{-# LANGUAGE                  FlexibleInstances,+        TypeFamilies,         TypeSynonymInstances #-}  module CsoundExpr.Translator.Cs.CsBoolean (CsBool) @@ -106,7 +106,9 @@  --------------------------------------------------- -instance IfB CsBool CsTree where+type instance BooleanOf CsTree = CsBool++instance IfB CsTree where     ifB cond a b = let cond' = elimNots P cond                     in  case cond' of                           CsTrue  -> a@@ -130,12 +132,12 @@ bOp op a b = CsBPrim $ CsComp op a b  -instance EqB CsBool CsTree where+instance EqB CsTree where     (==*) = bOp CsEq     (/=*) = bOp CsNeq  -instance OrdB CsBool CsTree where+instance OrdB CsTree where     (<*)  = bOp CsLt     (>*)  = bOp CsGt     (<=*) = bOp CsElt