Update tests

This commit is contained in:
2026-09-12 20:18:13 +03:00
parent b20320c779
commit a3dd63f26c
4 changed files with 38 additions and 54 deletions
+2 -1
View File
@@ -23,6 +23,7 @@ module AFRP
, lMerge
, Pair(..)
, Request(..)
, SerializeUTCTime(..)
, edge
, duration
, tag
@@ -308,7 +309,7 @@ instance Monoid (Event a) where
mempty = Tick
hold :: (Serialize a, Eq a) => a -> Mealy m (Event a) a
hold def = preMapAccum step def id
hold def = mapAccum step def id
where
step prev = \case
Tick -> prev