Modulecabal-install-solver-3.18.1.0
Distribution.Solver.Modular.ConflictSet
- 4 types
- 17 values
- Packagecabal-install-solver-3.18.1.0
- Exports21
- LicenceBSD-3-Clause
- SourceList.hs
\mathcal{O}(n). filter, applied to a predicate and a list, returns
the list of those elements that satisfy the predicate; i.e.,
filter p xs = [ x | x <- xs, p x]Examples
filter odd [1, 2, 3][1,3]
filter (\l -> length l > 3) ["Hello", ", ", "World", "!"]["Hello","World"]
filter (/= 3) [1, 2, 3, 4, 3, 2, 1][1,2,4,2,1]
Instances3Eq, Ord, Show
Instances2Eq, Show
Eq ConflictSetDefined in cabal-install-solver-3.18.1.0 · Distribution.Solver.Modular.ConflictSetShow ConflictSetDefined in cabal-install-solver-3.18.1.0 · Distribution.Solver.Modular.ConflictSet
Constructors
Instances3Eq, Ord, Show
Eq OrderedVersionRangeDefined in cabal-install-solver-3.18.1.0 · Distribution.Solver.Modular.ConflictSetOrd OrderedVersionRangeDefined in cabal-install-solver-3.18.1.0 · Distribution.Solver.Modular.ConflictSetShow OrderedVersionRangeDefined in cabal-install-solver-3.18.1.0 · Distribution.Solver.Modular.ConflictSet