automaton 1.6 → 1.6.1
raw patch · 2 files changed
+2/−6 lines, 2 filesdep ~changesetPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: changeset
API changes (from Hackage documentation)
Files
- automaton.cabal +2/−2
- test/Automaton/Trans/Changeset.hs +0/−4
automaton.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.0 name: automaton-version: 1.6+version: 1.6.1 synopsis: Effectful streams and automata in coalgebraic encoding description: Effectful streams have an internal state and a step function.@@ -30,7 +30,7 @@ build-depends: MonadRandom >=0.5, base >=4.16 && <4.22,- changeset ^>=0.1.0.2,+ changeset ^>=0.1.1, mmorph ^>=1.2, mtl >=2.2 && <2.4, profunctors ^>=5.6,
test/Automaton/Trans/Changeset.hs view
@@ -16,9 +16,5 @@ -- automaton import Data.Automaton import Data.Automaton.Trans.Changeset (runChangesetS)-import Data.Monoid.RightAction (RightAction (actRight)) tests = testGroup "Trans.Changeset" [testCase "runChangesetS" $ runIdentity (embed (runChangesetS (Sum (0 :: Int)) (constM (change (Sum (1 :: Int)) >> current))) (replicate 5 ())) @?= (\n -> (n, n)) <$> [1, 2, 3, 4, 5]]--instance (Num a) => RightAction (Sum a) (Sum a) where- a1 `actRight` a2 = a1 <> a2