Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump fourmolu to 0.14 #303

Merged
merged 1 commit into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- uses: actions/checkout@v4
- uses: haskell-actions/run-fourmolu@v10
with:
version: "0.11.0.0"
version: "0.14.0.0"

generateMatrix:
name: "Generate matrix from cabal"
Expand Down
8 changes: 4 additions & 4 deletions rhine-examples/src/Demonstration.hs
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ printEverySecond = arrMCl print
main :: IO ()
main =
flow $
ms500 @@ waitClock |@|
ms1200 @@ waitClock
>-- collect
--> printEverySecond @@ waitClock
(ms500 @@ waitClock)
|@| (ms1200 @@ waitClock)
>-- collect
--> (printEverySecond @@ waitClock)

{- | Rhine prevents the consumption of a signal at a different clock than it is created,
if no explicit resampling strategy is given.
Expand Down
4 changes: 2 additions & 2 deletions rhine-examples/src/EventClock.hs
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ eventExample :: IO ()
eventExample =
runEventChanT $
flow $
emitEventSystem |@|
handleEventSystem
emitEventSystem
|@| handleEventSystem
where
emitEventSystem = message >-> emitS @@ liftClock waitClock
handleEventSystem = handleEvents @@ EventClock
Expand Down
Loading