Update tests

This commit is contained in:
MasseR committed 2026-09-12 20:18:13 +03:00
1 parent b20320c779
commit a3dd63f26c
4 files changed
+38 -54

No files matched your search

+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