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.
aiNumericService :: AddressInfoFlagssocket System.Socket AI_NUMERICSERV:
familyNumber :: Family f => f -> CIntsocket 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.
niNumericHost :: NameInfoFlagssocket System.Socket NI_NUMERICHOST: Return the numeric form of the host address.
niNumericService :: NameInfoFlagssocket System.Socket NI_NUMERICSERV: Return the numeric form of the service address.
protocolNumber :: Protocol p => p -> CIntsocket 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.
typeNumber :: Type t => t -> CIntsocket 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.
-
sql-words Language.SQL.Keyword.Type No documentation available.
-
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.
enumerate :: forall (m :: Type -> Type) a . (Monad m, Bounded a, Enumerable a) => Stream m astreamly-core Streamly.Data.Stream enumerate = enumerateFrom minBound
Enumerate a Bounded type from its minBound to maxBoundenumerateFrom :: forall (m :: Type -> Type) . (Enumerable a, Monad m) => a -> Stream m astreamly-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]