Skip to content

Commit

Permalink
remove cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
JBetz committed Jan 16, 2020
1 parent 6091e55 commit 442826d
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions test/RequesterT.hs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import Control.Lens hiding (has)
import Control.Monad
import Control.Monad.Fail (MonadFail)
import Control.Monad.Fix
import Control.Monad.IO.Class (MonadIO, liftIO)
import Control.Monad.IO.Class (MonadIO)
import Control.Monad.Primitive
import Data.Constraint.Extras
import Data.Constraint.Extras.TH
Expand Down Expand Up @@ -249,7 +249,6 @@ testMoribundPerformEvent
:: forall t m
. ( Adjustable t m
, PerformEvent t m
, MonadIO (Performable m)
, MonadHold t m
, Reflex t
)
Expand All @@ -259,10 +258,8 @@ testMoribundPerformEvent pulse = do
switchHold outputInitial outputReplaced
where
performPrint i evt =
let outputEvt = ((show i <> ":") <>) . show <$> evt
in performEvent $ ffor outputEvt $ \output ->
let msg = show i <> ":" <> show output
in return output
performEvent $ ffor evt $ \output ->
return $ show i <> ":" <> show output


deriveArgDict ''TestRequest

0 comments on commit 442826d

Please sign in to comment.