Skip to content

Commit

Permalink
Merge branch 'develop-fix-event-old-base' into develop. Close #239.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanperez-keera committed Oct 15, 2022
2 parents 5ca9671 + 6178d36 commit 05c31a6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion yampa-test/CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
2022-10-15 Ivan Perez <ivan.perez@keera.co.uk>
* yampa-test.cabal: add tests for module FRP.Yampa.Event (#237).
* tests/: add tests for module FRP.Yampa.Event (#237).
* tests/: add tests for module FRP.Yampa.Event (#237), explicit import
from Control.Applicative with old versions of base (#239).

2022-10-07 Ivan Perez <ivan.perez@keera.co.uk>
* yampa-test.cabal: Version bump (0.13.7) (#238).
Expand Down
6 changes: 6 additions & 0 deletions yampa-test/tests/Test/FRP/Yampa/Event.hs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{-# LANGUAGE CPP #-}
-- |
-- Description : Test cases for events
-- Copyright : Ivan Perez, 2022
Expand All @@ -10,6 +11,11 @@ module Test.FRP.Yampa.Event
import Control.Applicative ((<|>))
import Control.Monad (guard, join)

#if !MIN_VERSION_base(4,8,0)
import Control.Applicative (pure, (<*>))
import Data.Functor ((<$>))
#endif

import Test.QuickCheck hiding (once, sample)
import Test.Tasty (TestTree, testGroup)
import Test.Tasty.QuickCheck (testProperty)
Expand Down

0 comments on commit 05c31a6

Please sign in to comment.