findJust op = fromJust . find opModulesafe-0.3.21Haskell2010
Safe.Foldable
- 30 values
- Packagesafe-0.3.21
- Exports30
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceFoldable.hs
New functions
1 declarationSafe wrappers
22 declarationsThe largest element of a foldable structure with respect to the given comparison function. The result is bounded by the value given as the first argument.
The smallest element of a foldable structure with respect to the given comparison function. The result is bounded by the value given as the first argument.
The largest element of a foldable structure. The result is bounded by minBound.
The largest element of a foldable structure. The result is bounded by the value given as the first argument.
The largest element of a foldable structure. The result is bounded by maxBound.
The smallest element of a foldable structure. The result is bounded by the value given as the first argument.
Discouraged
4 declarationsNew users are recommended to use minimumBound or maximumBound instead.
New users are recommended to use minimumBound or maximumBound instead.
New users are recommended to use minimumBoundBy or maximumBoundBy instead.
New users are recommended to use minimumBoundBy or maximumBoundBy instead.
Deprecated
3 declarationsDeprecated. Use foldl f mempty instead.
Deprecated. Use foldr f mempty instead.
Deprecated. Use findJustDef mempty instead.