Hoogle Search

Within LTS Haskell 24.33 (ghc-9.10.3)

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

  1. enum :: Enum a => Iso' Int a

    lens Control.Lens.Combinators

    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.

  2. enum :: Enum a => Iso' Int a

    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.

  3. _NumTyLit :: Prism' TyLit Integer

    lens Language.Haskell.TH.Lens

    No documentation available.

  4. AI_NUMERICHOST :: AddrInfoFlag

    network Network.Socket

    The HostName argument must be a numeric address in string form, and network name lookups will not be attempted.

  5. AI_NUMERICSERV :: AddrInfoFlag

    network 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.)

  6. NI_NUMERICHOST :: NameInfoFlag

    network 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.

  7. NI_NUMERICSERV :: NameInfoFlag

    network Network.Socket

    The name of the service is not looked up. Instead, a numeric representation of the service is returned.

  8. data PortNumber

    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
    

  9. type ProtocolNumber = CInt

    network Network.Socket

    Protocol number.

  10. alphaNum :: forall s (m :: Type -> Type) u . Stream s m Char => ParsecT s u m Char

    parsec 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.

Page 148 of many | Previous | Next