Skip to content

Commit

Permalink
FIXUP? DROP? Undo scheduling thing, scheduleList actually works
Browse files Browse the repository at this point in the history
  • Loading branch information
turion committed Jul 16, 2024
1 parent ebd76e5 commit 4a76790
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rhine/src/FRP/Rhine/SN/Free.hs
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,8 @@ runClocks cls = performOnFirstSample $ scheduleAutomatons <$> getRunningClocks (

-- FIXME I have to get rid of the final implementation of scheduleList first
scheduleAutomatons :: (Monad m, MonadSchedule m) => [Automaton m () a] -> Automaton m () a
-- scheduleAutomatons msfs = concatS $ scheduleList (fromList msfs) >>> arr toList
scheduleAutomatons = foldr1 schedulePair
scheduleAutomatons msfs = concatS $ scheduleList (fromList msfs) >>> arr toList
-- scheduleAutomatons = foldr1 schedulePair

infix 4 >>>^

Expand Down

0 comments on commit 4a76790

Please sign in to comment.