Skip to content

Commit

Permalink
yampa: Reduce line to 80 characters (KSG Haskell 1.3.0 - 4.3). Refs #255
Browse files Browse the repository at this point in the history
.

We set the code limit for Haskell files at 80 characters.
  • Loading branch information
ivanperez-keera committed Mar 25, 2023
1 parent b8b6300 commit 8413848
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion yampa/examples/Testing.hs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,10 @@ hit =

testBallBouncing = evalT (ballBouncingLower 100) stream0_5

showBallBouncing = embed (bouncingBall 100 0 >>> arr fst ) ((), map (second Just) [(0.5, ()), (0.5, ()), (0.5, ()), (0.5, ()), (0.5, ()), (0.5, ()), (0.5, ()), (0.5, ()), (0.5, ()), (0.5, ()), (0.5, ()), (0.5, ()), (0.5, ()), (0.5, ()), (0.5, ()), (0.5, ()), (0.5, ()), (0.5, ()), (0.5, ()),(0.5, ()), (0.5, ()), (0.5, ()), (0.5, ()), (0.5, ()), (0.5, ()), (0.5, ()), (0.5, ()), (0.5, ()), (0.5, ()), (0.5, ()), (0.5, ()), (0.5, ()), (0.5, ()), (0.5, ()), (0.5, ()), (0.5, ()), (0.5, ()), (0.5, ()), (0.5, ())])
showBallBouncing =
embed
(bouncingBall 100 0 >>> arr fst )
((), map (second Just) (replicate 39 (0.5, ())))

-- ballOverFloor :: Double -> TPred ()
-- ballOverFloor p0 = Always $ SP (bouncingBall p0 0, (\_ (p1, v1) -> p1 >= 0))
Expand Down

0 comments on commit 8413848

Please sign in to comment.