mirror of
https://github.com/github/semantic.git
synced 2024-12-20 13:21:59 +03:00
Invert the predicate.
This commit is contained in:
parent
16b0fedee5
commit
88a79d736c
@ -40,7 +40,7 @@ rws compare getLabel as bs
|
|||||||
put (Set.insert k mapped)
|
put (Set.insert k mapped)
|
||||||
pure y
|
pure y
|
||||||
_ -> pure $! delete v
|
_ -> pure $! delete v
|
||||||
deleteRemaining diff mapped = diff <> (delete . snd <$> filter ((`Set.member` mapped) . fst) fas)
|
deleteRemaining diff mapped = diff <> (delete . snd <$> filter (not . (`Set.member` mapped) . fst) fas)
|
||||||
|
|
||||||
data Gram label = Gram { stem :: [Maybe label], base :: [Maybe label] }
|
data Gram label = Gram { stem :: [Maybe label], base :: [Maybe label] }
|
||||||
deriving (Eq, Show)
|
deriving (Eq, Show)
|
||||||
|
Loading…
Reference in New Issue
Block a user