Skip to content

Commit

Permalink
Implement runSpiderHost in terms of runSpiderHostForTimeline
Browse files Browse the repository at this point in the history
  • Loading branch information
ryantrinkle committed Jun 23, 2023
1 parent 1f0dfc9 commit 0132a0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Reflex/Spider/Internal.hs
Expand Up @@ -2684,7 +2684,7 @@ instance MonadFail (SpiderHost x) where

-- | Run an action affecting the global Spider timeline
runSpiderHost :: SpiderHost Global a -> IO a
runSpiderHost (SpiderHost a) = a
runSpiderHost a = runSpiderHostForTimeline a globalSpiderTimeline

-- | Run an action affecting a given Spider timeline
runSpiderHostForTimeline :: SpiderHost x a -> SpiderTimeline x -> IO a
Expand Down

0 comments on commit 0132a0a

Please sign in to comment.