Hoogle Search

Within LTS Haskell 24.35 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. enumShowSqlType :: EnumMapper sqlEnum haskellSum -> forall (proxy :: Type -> Type) . () => proxy sqlEnum -> String

    opaleye Opaleye.Experimental.Enum

    No documentation available.

  2. enumToFields :: EnumMapper sqlEnum haskellSum -> ToFields haskellSum (Field sqlEnum)

    opaleye Opaleye.Experimental.Enum

    No documentation available.

  3. enumToInt :: WireEnum a => a -> Int32

    protobuf-simple Data.ProtoBufInt

    Convert a enum value to an Int32.

  4. enumToInt :: WireEnum a => a -> Int32

    protobuf-simple Data.ProtoBufInt

    Convert a enum value to an Int32.

  5. enum8toWord8 :: Enum8 -> Word8

    rainbow Rainbow.Types

    No documentation available.

  6. enumerate :: forall (f :: Type -> Type) . (Enumerable a, Typeable f, Sized f) => Shared f a

    size-based Control.Enumerable

    No documentation available.

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

    streamly Streamly.Internal.Data.Stream.IsStream

    enumerate = enumerateFrom minBound
    
    Enumerate a Bounded type from its minBound to maxBound

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

    streamly Streamly.Internal.Data.Stream.IsStream

    enumerate = enumerateFrom minBound
    
    Enumerate a Bounded type from its minBound to maxBound

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

    streamly Streamly.Internal.Data.Stream.IsStream

    enumerateFrom from generates a stream starting with the element from, enumerating up to maxBound when the type is Bounded or generating an infinite stream when the type is not Bounded.

    >>> Stream.toList $ Stream.take 4 $ Stream.enumerateFrom (0 :: Int)
    [0,1,2,3]
    
    For Fractional types, enumeration is numerically stable. However, no overflow or underflow checks are performed.
    >>> Stream.toList $ Stream.take 4 $ Stream.enumerateFrom 1.1
    [1.1,2.1,3.1,4.1]
    

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

    streamly Streamly.Internal.Data.Stream.IsStream

    enumerateFrom from generates a stream starting with the element from, enumerating up to maxBound when the type is Bounded or generating an infinite stream when the type is not Bounded.

    >>> Stream.toList $ Stream.take 4 $ Stream.enumerateFrom (0 :: Int)
    [0,1,2,3]
    
    For Fractional types, enumeration is numerically stable. However, no overflow or underflow checks are performed.
    >>> Stream.toList $ Stream.take 4 $ Stream.enumerateFrom 1.1
    [1.1,2.1,3.1,4.1]
    

Page 81 of many | Previous | Next