Hoogle Search
Within LTS Haskell 24.32 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
streamly Streamly.Prelude Generate a finite stream starting with the element from, enumerating the type up to the value to. If to is smaller than from then an empty stream is returned.
>>> Stream.toList $ Stream.enumerateFromTo 0 4 [0,1,2,3,4]
For Fractional types, the last element is equal to the specified to value after rounding to the nearest integral value.>>> Stream.toList $ Stream.enumerateFromTo 1.1 4 [1.1,2.1,3.1,4.1] >>> Stream.toList $ Stream.enumerateFromTo 1.1 4.6 [1.1,2.1,3.1,4.1,5.1]
-
streamly Streamly.Prelude enumerateTo = enumerateFromTo minBound
Enumerate a Bounded type from its minBound to specified value. enumFromThenTo' :: (Ord a, Enum a, Num a) => a -> a -> a -> Pattern atidal Sound.Tidal.Boot No documentation available.
enumFromTo' :: (Ord a, Enum a) => a -> a -> Pattern atidal Sound.Tidal.Boot No documentation available.
enumBounded :: (Bounded a, Enum a, Show a) => Key -> TomlCodec atomland Toml.Codec.Combinator.Custom Codec for general nullary sum data types with a Bounded, Enum, and Show instance. This codec is similar to read but provides much better error messages than read for nullary sum types. E.g. for the same Format example from read function, but with the Toml.enumBounded "foo" codec the error for foo = "Jif" in the TOML file will look like this:
tomland decode error: Value is Jif but expected one of: Jpeg, Png, Gif
-
trie-simple Data.Trie.Set List of all elements.
enumFromN :: (Num a, Unboxable a) => a -> Int -> Vector aunboxing-vector Data.Vector.Unboxing No documentation available.
enumFromStepN :: (Num a, Unboxable a) => a -> a -> Int -> Vector aunboxing-vector Data.Vector.Unboxing No documentation available.
enumFromThenTo :: (Enum a, Unboxable a) => a -> a -> a -> Vector aunboxing-vector Data.Vector.Unboxing No documentation available.
enumFromTo :: (Enum a, Unboxable a) => a -> a -> Vector aunboxing-vector Data.Vector.Unboxing No documentation available.