1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 22:31:36 +03:00

📝 liveDelete.

This commit is contained in:
Rob Rix 2017-12-20 16:24:17 -05:00
parent dae3e8caa3
commit 31a561751c

View File

@ -22,6 +22,7 @@ liveSingleton = Live . Set.singleton
liveInsert :: Ord l => Address l v -> Live l v -> Live l v
liveInsert addr = Live . Set.insert addr . unLive
-- | Delete an address from a 'Live' set, if present.
liveDelete :: Ord l => Address l v -> Live l v -> Live l v
liveDelete addr = Live . Set.delete addr . unLive