Hoogle Search

Within LTS Haskell 24.67 (ghc-9.10.3)

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

  1. aiNumericService :: AddressInfoFlags

    socket System.Socket

    AI_NUMERICSERV:

  2. familyNumber :: Family f => f -> CInt

    socket System.Socket

    The number designating this Family on the specific platform. This method is only exported for implementing extension libraries. This function shall yield the values of constants like AF_INET, AF_INET6 etc.

  3. niNumericHost :: NameInfoFlags

    socket System.Socket

    NI_NUMERICHOST: Return the numeric form of the host address.

  4. niNumericService :: NameInfoFlags

    socket System.Socket

    NI_NUMERICSERV: Return the numeric form of the service address.

  5. protocolNumber :: Protocol p => p -> CInt

    socket System.Socket

    This number designates this Protocol on the specific platform. This method is only exported for implementing extension libraries. The function shall yield the values of constants like IPPROTO_TCP, IPPROTO_UDP etc.

  6. typeNumber :: Type t => t -> CInt

    socket System.Socket

    This number designates this Type on the specific platform. This method is only exported for implementing extension libraries. The function shall yield the values of constants like SOCK_STREAM, SOCK_DGRAM etc.

  7. ROW_NUMBER :: Keyword

    sql-words Language.SQL.Keyword.Type

    No documentation available.

  8. class Enum a => Enumerable a

    streamly-core Streamly.Data.Stream

    Types that can be enumerated as a stream. The operations in this type class are equivalent to those in the Enum type class, except that these generate a stream instead of a list. Use the functions in Streamly.Internal.Data.Stream.Enumeration module to define new instances.

  9. enumerate :: forall (m :: Type -> Type) a . (Monad m, Bounded a, Enumerable a) => Stream m a

    streamly-core Streamly.Data.Stream

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

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

    streamly-core Streamly.Data.Stream

    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 426 of many | Previous | Next