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.
-
lens Control.Lens.Iso This isomorphism can be used to convert to or from an instance of Enum.
>>> LT^.from enum 0
>>> 97^.enum :: Char 'a'
Note: this is only an isomorphism from the numeric range actually used and it is a bit of a pleasant fiction, since there are questionable Enum instances for Double, and Float that exist solely for [1.0 .. 4.0] sugar and the instances for those and Integer don't cover all values in their range. _NumTyLit :: Prism' TyLit Integerlens Language.Haskell.TH.Lens No documentation available.
AI_NUMERICHOST :: AddrInfoFlagnetwork Network.Socket The HostName argument must be a numeric address in string form, and network name lookups will not be attempted.
AI_NUMERICSERV :: AddrInfoFlagnetwork Network.Socket The ServiceName argument must be a port number in string form, and service name lookups will not be attempted. (Only some platforms support this.)
NI_NUMERICHOST :: NameInfoFlagnetwork Network.Socket The name of the host is not looked up. Instead, a numeric representation of the host's address is returned. For an IPv4 address, this will be a dotted-quad string. For IPv6, it will be colon-separated hexadecimal.
NI_NUMERICSERV :: NameInfoFlagnetwork Network.Socket The name of the service is not looked up. Instead, a numeric representation of the service is returned.
-
network Network.Socket Port number. Use the Num instance (i.e. use a literal) to create a PortNumber value.
>>> 1 :: PortNumber 1 >>> read "1" :: PortNumber 1 >>> show (12345 :: PortNumber) "12345" >>> 50000 < (51000 :: PortNumber) True >>> 50000 < (52000 :: PortNumber) True >>> 50000 + (10000 :: PortNumber) 60000
-
network Network.Socket Protocol number.
alphaNum :: forall s (m :: Type -> Type) u . Stream s m Char => ParsecT s u m Charparsec Text.Parsec.Char Parses a alphabetic or numeric Unicode characters according to isAlphaNum. Returns the parsed character. Note that numeric digits outside the ASCII range (such as arabic-indic digits like e.g. "٤" or U+0664), as well as numeric characters which aren't digits, are parsed by this function but not by digit.
alphaNum :: forall s (m :: Type -> Type) u . Stream s m Char => ParsecT s u m Charparsec Text.ParserCombinators.Parsec.Char Parses a alphabetic or numeric Unicode characters according to isAlphaNum. Returns the parsed character. Note that numeric digits outside the ASCII range (such as arabic-indic digits like e.g. "٤" or U+0664), as well as numeric characters which aren't digits, are parsed by this function but not by digit.