compilation failure with text 1.2.5.0 (ghc 9.0.2)
src/GitLab/SystemHooks/Rules.hs:34:43: error:
Ambiguous occurrence ‘elem’
It could refer to
either ‘Prelude.elem’,
imported from ‘Prelude’ at src/GitLab/SystemHooks/Rules.hs:10:8-31
(and originally defined in ‘Data.Foldable’)
or ‘Data.Text.elem’,
imported from ‘Data.Text’ at src/GitLab/SystemHooks/Rules.hs:13:1-16
|
34 | return (userCreate_username event `elem` nonRegisteredUsernames)
| ^^^^^^
src/GitLab/SystemHooks/Rules.hs:67:19: error:
Ambiguous occurrence ‘elem’
It could refer to
either ‘Prelude.elem’,
imported from ‘Prelude’ at src/GitLab/SystemHooks/Rules.hs:10:8-31
(and originally defined in ‘Data.Foldable’)
or ‘Data.Text.elem’,
imported from ‘Data.Text’ at src/GitLab/SystemHooks/Rules.hs:13:1-16
|
67 | `elem` projectNames
| ^^^^^^