mirror of
https://github.com/github/semantic.git
synced 2025-01-01 11:46:14 +03:00
Placate hlint.
This commit is contained in:
parent
756cade411
commit
a6934f5dfa
@ -119,7 +119,7 @@ overwrite pairs env = unpairs $ mapMaybe lookupAndAlias pairs
|
||||
--
|
||||
-- Unbound names are silently dropped.
|
||||
roots :: (Ord location, Foldable t) => Environment location -> t Name -> Live location
|
||||
roots env names = addresses (intersect names env)
|
||||
roots env names = addresses (names `intersect` env)
|
||||
|
||||
addresses :: Ord location => Environment location -> Live location
|
||||
addresses = fromAddresses . map snd . pairs
|
||||
|
Loading…
Reference in New Issue
Block a user