Hoogle Search

Within LTS Haskell 24.46 (ghc-9.10.3)

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

  1. getProtocolByNumber :: ProtocolNumber -> IO ProtocolEntry

    network-bsd Network.BSD

    getprotobynumber(3).

  2. getProtocolNumber :: ProtocolName -> IO ProtocolNumber

    network-bsd Network.BSD

    getprotobyname(3).

  3. getServicePortNumber :: ServiceName -> IO PortNumber

    network-bsd Network.BSD

    Get the PortNumber corresponding to the ServiceName.

  4. protoNumber :: ProtocolEntry -> ProtocolNumber

    network-bsd Network.BSD

    Protocol number

  5. alphaNum :: CharParsing m => m Char

    parsers Text.Parser.Char

    Parses a letter or digit. Returns the parsed character.

  6. _numrange :: TypeInfo

    postgresql-simple Database.PostgreSQL.Simple.TypeInfo.Static

    No documentation available.

  7. _numrangeOid :: Oid

    postgresql-simple Database.PostgreSQL.Simple.TypeInfo.Static

    No documentation available.

  8. array_numeric :: TypeInfo

    postgresql-simple Database.PostgreSQL.Simple.TypeInfo.Static

    No documentation available.

  9. array_numericOid :: Oid

    postgresql-simple Database.PostgreSQL.Simple.TypeInfo.Static

    No documentation available.

  10. boundedEnumCodec :: (Eq enum, Enum enum, Bounded enum) => (enum -> Text) -> JSONCodec enum

    autodocodec Autodocodec

    A codec for a Bounded Enum that uses the provided function to have the values correspond to literal Text values.

    Example usage

    >>> data Fruit = Apple | Orange deriving (Show, Eq, Enum, Bounded)
    
    >>> :{
    let c = boundedEnumCodec $ \case
    Apple -> "foo"
    Orange -> "bar"
    :}
    
    >>> toJSONVia c Apple
    String "foo"
    
    >>> JSON.parseMaybe (parseJSONVia c) (String "bar") :: Maybe Fruit
    Just Orange
    

Page 189 of many | Previous | Next