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.

  1. enumerateFromTo :: forall t (m :: Type -> Type) . (Enumerable a, IsStream t, Monad m) => a -> a -> t m a

    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]
    

  2. enumerateTo :: forall t (m :: Type -> Type) a . (IsStream t, Monad m, Bounded a, Enumerable a) => a -> t m a

    streamly Streamly.Prelude

    enumerateTo = enumerateFromTo minBound
    
    Enumerate a Bounded type from its minBound to specified value.

  3. enumFromThenTo' :: (Ord a, Enum a, Num a) => a -> a -> a -> Pattern a

    tidal Sound.Tidal.Boot

    No documentation available.

  4. enumFromTo' :: (Ord a, Enum a) => a -> a -> Pattern a

    tidal Sound.Tidal.Boot

    No documentation available.

  5. enumBounded :: (Bounded a, Enum a, Show a) => Key -> TomlCodec a

    tomland 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
    

  6. enumerate :: TSet c -> [[c]]

    trie-simple Data.Trie.Set

    List of all elements.

  7. enumFromN :: (Num a, Unboxable a) => a -> Int -> Vector a

    unboxing-vector Data.Vector.Unboxing

    No documentation available.

  8. enumFromStepN :: (Num a, Unboxable a) => a -> a -> Int -> Vector a

    unboxing-vector Data.Vector.Unboxing

    No documentation available.

  9. enumFromThenTo :: (Enum a, Unboxable a) => a -> a -> a -> Vector a

    unboxing-vector Data.Vector.Unboxing

    No documentation available.

  10. enumFromTo :: (Enum a, Unboxable a) => a -> a -> Vector a

    unboxing-vector Data.Vector.Unboxing

    No documentation available.

Page 84 of many | Previous | Next