From d2824719c721787b092b16f29ec390fa9120aa17 Mon Sep 17 00:00:00 2001 From: Alexandre Esteves Date: Sun, 16 Sep 2018 20:38:03 +0100 Subject: [PATCH] Fix typo: relavant -> relevant --- test/Reflex/Plan/Pure.hs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/Reflex/Plan/Pure.hs b/test/Reflex/Plan/Pure.hs index a595b811..65731627 100644 --- a/test/Reflex/Plan/Pure.hs +++ b/test/Reflex/Plan/Pure.hs @@ -55,15 +55,15 @@ instance TestPlan (Pure Int) PurePlan where runPure :: PurePlan a -> (a, IntSet) runPure (PurePlan p) = runStateT p mempty $ 0 -relavantTimes :: IntSet -> IntSet -relavantTimes occs = IntSet.fromList [0..l + 1] +relevantTimes :: IntSet -> IntSet +relevantTimes occs = IntSet.fromList [0..l + 1] where l = fromMaybe 0 (fst <$> IntSet.maxView occs) testBehavior :: (Behavior (Pure Int) a, IntSet) -> IntMap a -testBehavior (b, occs) = IntMap.fromSet (sample b) (relavantTimes occs) +testBehavior (b, occs) = IntMap.fromSet (sample b) (relevantTimes occs) testEvent :: (Event (Pure Int) a, IntSet) -> IntMap (Maybe a) -testEvent (Event readEvent, occs) = IntMap.fromSet readEvent (relavantTimes occs) +testEvent (Event readEvent, occs) = IntMap.fromSet readEvent (relevantTimes occs)