Returns the head of the list iff there is exactly one element.
Modulepolysemy-plugin-0.4.5.2Haskell2010
Polysemy.Plugin.Fundep.Utils
- 3 values
- Packagepolysemy-plugin-0.4.5.2
- Exports3
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceUtils.hs
Like when, but in the context of an Alternative.
Count the number of times a is present in the list.