Skip to content

Commit

Permalink
Fix a loopy superclass solution
Browse files Browse the repository at this point in the history
This is deprecated in at least 9.8, and removed in 9.10.

Co-Authored-By: ymeister <47071325+ymeister@users.noreply.github.com>
  • Loading branch information
Ericson2314 and ymeister committed Oct 1, 2024
1 parent 4f78e3b commit 8642d58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Reflex/PerformEvent/Base.hs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ instance (PrimMonad (HostFrame t), ReflexHost t) => PrimMonad (PerformEventT t m
type PrimState (PerformEventT t m) = PrimState (HostFrame t)
primitive = PerformEventT . lift . primitive

instance (ReflexHost t, Ref m ~ Ref IO) => PerformEvent t (PerformEventT t m) where
instance (Monad (HostFrame t), ReflexHost t, Ref m ~ Ref IO) => PerformEvent t (PerformEventT t m) where
type Performable (PerformEventT t m) = HostFrame t
{-# INLINABLE performEvent_ #-}
performEvent_ = PerformEventT . requesting_
Expand Down

0 comments on commit 8642d58

Please sign in to comment.