Fix definition of elemOf

This commit is contained in:
Kiana Sheibani 2024-01-29 21:44:54 -05:00 committed by GitHub
parent a7152cd582
commit 253467ebae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -218,7 +218,7 @@ ianyOf = ifoldMapOf @{Any}
||| Return `True` if the element occurs in the focuses of the optic.
public export
elemOf : Eq a => Fold s a -> a -> s -> Bool
elemOf l = allOf l . (==)
elemOf l = anyOf l . (==)
||| Calculate the number of focuses of the optic.
public export