We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d943452 commit bd79156Copy full SHA for bd79156
ghcide/session-loader/Development/IDE/Session/OrderedSet.hs
@@ -20,7 +20,7 @@ type OrderedSet a = (TQueue a, Set a)
20
-- most-recently-inserted ordering semantics.
21
-- It take O(n), not very good.
22
23
--- Alternative: could preserve original position.
+-- Alternative: preserve original position and ignore new one.
24
-- I am not sure which one is better.
25
insert :: Hashable a => a -> OrderedSet a -> STM ()
26
insert a (que, s) = do
0 commit comments