1
1
mirror of https://github.com/github/semantic.git synced 2025-01-03 04:51:57 +03:00
This commit is contained in:
joshvera 2016-08-10 10:56:28 -04:00
parent 1574e74bcb
commit d09c1314a4

View File

@ -58,7 +58,7 @@ examples directory = do
let lookupName name = (lookupNormalized name as, lookupNormalized name bs, lookupNormalized name jsons, lookupNormalized name patches, lookupNormalized name splits)
let keys = union (normalizeName <$> as) (normalizeName <$> bs)
let keys = normalizeName <$> as `union` normalizeName <$> bs
pure $ lookupName <$> keys
where
lookupNormalized name = find $ (== name) . normalizeName