Skip to content
Snippets Groups Projects
Commit fb91775f authored by Jens Nolte's avatar Jens Nolte
Browse files

Reorder code

parent 91912ac8
No related branches found
No related tags found
No related merge requests found
......@@ -120,4 +120,4 @@ insertValue (ObservablePriority mvar) priority value = modifyMVar mvar $ \intern
notifySubscribers :: forall p v. Internals p v -> IO ()
notifySubscribers Internals{subscribers, current} = mapM_ (\callback -> callback (Update, (\(_, _, value) -> value) <$> current)) subscribers
notifySubscribers Internals{subscribers, current} = forM_ subscribers (\callback -> callback (Update, (\(_, _, value) -> value) <$> current))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment