packages feed

dumb-cas 0.1.1.1 → 0.1.2.0

raw patch · 2 files changed

+9/−1 lines, 2 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

+ CAS.Dumb.Symbols: expressionFixity :: AlgebraExpr σ c -> Maybe Fixity
- CAS.Dumb.Symbols: class SymbolClass σ where {
+ CAS.Dumb.Symbols: class SymbolClass σ where type SCConstraint σ :: * -> Constraint where {

Files

CAS/Dumb/Symbols.hs view
@@ -150,6 +150,14 @@                    | AtFunctionArgument                    deriving (Eq) +expressionFixity :: AlgebraExpr σ c -> Maybe Hs.Fixity+expressionFixity (Symbol _) = Nothing+expressionFixity (Function _ _) = Nothing+expressionFixity (Operator (Infix fxty _) _ _) = Just fxty+expressionFixity (OperatorChain _ ((Infix fxty _,_):_)) = Just fxty+expressionFixity (OperatorChain x₀ []) = expressionFixity x₀+expressionFixity (Gap _) = Nothing+ renderSymbolExpression :: ∀ σ c r . (SymbolClass σ, SCConstraint σ c)          => ContextFixity -> RenderingCombinator σ c r                     -> AlgebraExpr σ c -> r
dumb-cas.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                dumb-cas-version:             0.1.1.1+version:             0.1.2.0 synopsis:            A computer “algebra” system that knows nothing about algebra, at the core. description:         This is a framework for untyped, symbolic computations like a CAS                      does, without any baked-in rules whatsoever but the ability to