Skip to content

Commit

Permalink
Constrain cmapM_ type
Browse files Browse the repository at this point in the history
  • Loading branch information
jonascarpay committed Aug 11, 2019
1 parent 9a36e27 commit 103daa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apecs/src/Apecs/System.hs
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ cmapM sys = do

-- | Monadically iterates over all entites with a @cx@
{-# INLINE cmapM_ #-}
cmapM_ :: forall w m c a. (Get w m c, Members w m c)
=> (c -> SystemT w m a) -> SystemT w m ()
cmapM_ :: forall w m c. (Get w m c, Members w m c)
=> (c -> SystemT w m ()) -> SystemT w m ()
cmapM_ sys = do
s :: Storage c <- getStore
sl <- lift$ explMembers s
Expand Down

0 comments on commit 103daa1

Please sign in to comment.