mirror of
https://github.com/github/semantic.git
synced 2024-12-22 14:21:31 +03:00
📝 liveDelete.
This commit is contained in:
parent
dae3e8caa3
commit
31a561751c
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user