Hoogle Search
Within LTS Haskell 24.51 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
histogram-fill Data.Histogram.Bin.BinEnum Bin for types which are instnaces of Enum type class. Value are converted to Int using fromEnum first and then binned.
-
histogram-fill Data.Histogram.Bin.BinEnum No documentation available.
binEnum :: Enum a => a -> a -> BinEnum ahistogram-fill Data.Histogram.Bin.BinEnum Create enum based bin
binEnumFull :: (Enum a, Bounded a) => BinEnum ahistogram-fill Data.Histogram.Bin.BinEnum Use full range of data
-
histogram-fill Data.Histogram.Bin.Extra Binning for 2D enumerations
-
histogram-fill Data.Histogram.Bin.Extra Type class very similar to Enum but elements of type are enumerated on 2-dimensional grid
binEnum2D :: Enum2D i => i -> i -> BinEnum2D ihistogram-fill Data.Histogram.Bin.Extra Construct indexed bin
fromEnum2D :: Enum2D a => a -> (Int, Int)histogram-fill Data.Histogram.Bin.Extra Convert value to index
toEnum2D :: Enum2D a => (Int, Int) -> ahistogram-fill Data.Histogram.Bin.Extra Convert index to value
-
hledger-web Hledger.Web.Import Class Enum defines operations on sequentially ordered types. The enumFrom... methods are used in Haskell's translation of arithmetic sequences. Instances of Enum may be derived for any enumeration type (types whose constructors have no fields). The nullary constructors are assumed to be numbered left-to-right by fromEnum from 0 through n-1. See Chapter 10 of the Haskell Report for more details. For any type that is an instance of class Bounded as well as Enum, the following should hold:
- The calls succ maxBound and pred minBound should result in a runtime error.
- fromEnum and toEnum should give a runtime error if the result value is not representable in the result type. For example, toEnum 7 :: Bool is an error.
- enumFrom and enumFromThen should be defined with an implicit bound, thus:
enumFrom x = enumFromTo x maxBound enumFromThen x y = enumFromThenTo x y bound where bound | fromEnum y >= fromEnum x = maxBound | otherwise = minBound