Skip to content

Commit bd79156

Browse files
committed
update comments for orderedSet
1 parent d943452 commit bd79156

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ghcide/session-loader/Development/IDE/Session/OrderedSet.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ type OrderedSet a = (TQueue a, Set a)
2020
-- most-recently-inserted ordering semantics.
2121
-- It take O(n), not very good.
2222

23-
-- Alternative: could preserve original position.
23+
-- Alternative: preserve original position and ignore new one.
2424
-- I am not sure which one is better.
2525
insert :: Hashable a => a -> OrderedSet a -> STM ()
2626
insert a (que, s) = do

0 commit comments

Comments
 (0)