Hoogle Search

Within LTS Haskell 24.41 (ghc-9.10.3)

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

  1. (.:?) :: FromJSON a => Object -> Key -> Parser (Maybe a)

    yaml Data.Yaml.TH

    Retrieve the value associated with the given key of an Object. The result is Nothing if the key is not present or if its value is Null, or empty if the value cannot be converted to the desired type. This accessor is most useful if the key and value can be absent from an object without affecting its validity. If the key and value are mandatory, use .: instead.

  2. (/:) :: MediaType -> (ByteString, ByteString) -> MediaType

    http-media Network.HTTP.Media

    Adds a parameter to a MediaType. Can produce an error if either string is invalid.

  3. (/:) :: MediaType -> (ByteString, ByteString) -> MediaType

    http-media Network.HTTP.Media.MediaType

    Adds a parameter to a MediaType. Can produce an error if either string is invalid.

  4. (.:) :: FromJSON a => Object -> Key -> Parser a

    yesod-core Yesod.Core.Json

    Retrieve the value associated with the given key of an Object. The result is empty if the key is not present or the value cannot be converted to the desired type. This accessor is appropriate if the key and value must be present in an object for it to be valid. If the key and value are optional, use .:? instead.

  5. (>:>) :: Addr a => AddrRange a -> AddrRange a -> Bool

    iproute Data.IP

    The >:> operator takes two AddrRange. It returns True if the first AddrRange contains the second AddrRange. Otherwise, it returns False.

    >>> makeAddrRange ("127.0.2.1" :: IPv4) 8 >:> makeAddrRange "127.0.2.1" 24
    True
    
    >>> makeAddrRange ("127.0.2.1" :: IPv4) 24 >:> makeAddrRange "127.0.2.1" 8
    False
    
    >>> makeAddrRange ("2001:DB8::1" :: IPv6) 16 >:> makeAddrRange "2001:DB8::1" 32
    True
    
    >>> makeAddrRange ("2001:DB8::1" :: IPv6) 32 >:> makeAddrRange "2001:DB8::1" 16
    False
    

  6. (!:) :: a -> f a -> T f a

    non-empty Data.NonEmpty

    No documentation available.

  7. (?:) :: a -> f a -> T f a

    non-empty Data.Optional

    No documentation available.

  8. (.:) :: FromField a => NamedRecord -> ByteString -> Parser a

    cassava Data.Csv

    Alias for lookup.

  9. (%:) :: forall (m :: Type -> Type) r a . Monad m => T r a -> (a -> a) -> StateT r m ()

    data-accessor Data.Accessor

    Infix variant of modify.

  10. (=:) :: forall (m :: Type -> Type) r a . Monad m => Accessor r a -> a -> StateT r m ()

    data-accessor Data.Accessor

    Deprecated: use (Data.Accessor.Monad.Trans.State.%=) from data-accessor-transformers package

Page 77 of many | Previous | Next