Hoogle Search

Within LTS Haskell 24.61 (ghc-9.10.3)

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

  1. lookupListValues :: forall m (p :: Type -> Type) v . (PropertyMap m, Property p) => Text -> m p v -> [v]

    greskell Data.Greskell.Graph.PropertyMap

    Lookup a list of property values from a PropertyMap by key.

  2. lookupOne :: PropertyMap m => Text -> m p v -> Maybe (p v)

    greskell Data.Greskell.Graph.PropertyMap

    Look up a property associated with the given key.

  3. lookupOneValue :: forall m (p :: Type -> Type) v . (PropertyMap m, Property p) => Text -> m p v -> Maybe v

    greskell Data.Greskell.Graph.PropertyMap

    Lookup a property value from a PropertyMap by key.

  4. lookupAs :: forall k (c :: Type -> Type) a . (PMapKey k, NonEmptyLike c, PMapValue k ~ a, FromGraphSON a) => k -> PMap c GValue -> Either PMapLookupException a

    greskell Data.Greskell.PMap

    Lookup the value and parse it into a.

  5. lookupAs' :: forall k (c :: Type -> Type) a . (PMapKey k, NonEmptyLike c, PMapValue k ~ Maybe a, FromGraphSON a) => k -> PMap c GValue -> Either PMapLookupException (Maybe a)

    greskell Data.Greskell.PMap

    Similar to lookupAs, but this function converts a null result into Nothing. A null result is either (1) the key k is not found in the map, or (2) the key is found, but the value is null.

  6. lookupAsM :: forall k (c :: Type -> Type) a m . (PMapKey k, NonEmptyLike c, PMapValue k ~ a, FromGraphSON a, MonadThrow m) => k -> PMap c GValue -> m a

    greskell Data.Greskell.PMap

    MonadThrow version of lookupAs.

  7. lookupList :: forall k (c :: Type -> Type) v . (PMapKey k, NonEmptyLike c) => k -> PMap c v -> [v]

    greskell Data.Greskell.PMap

    Lookup all items for the key. If there is no item for the key, it returns an empty list.

  8. lookupListAs :: forall k (c :: Type -> Type) a . (PMapKey k, NonEmptyLike c, PMapValue k ~ a, FromGraphSON a) => k -> PMap c GValue -> Either PMapLookupException (NonEmpty a)

    greskell Data.Greskell.PMap

    Look up the values and parse them into a.

  9. lookupListAs' :: forall k (c :: Type -> Type) a . (PMapKey k, NonEmptyLike c, PMapValue k ~ Maybe a, FromGraphSON a) => k -> PMap c GValue -> Either PMapLookupException [Maybe a]

    greskell Data.Greskell.PMap

    Similar to lookupListAs, but this function accepts null results. If the key k is not found in the map, it returns an empty list. If the key k is found and nulls are included in the values, they are obtained as Nothing.

  10. lookupM :: forall k (c :: Type -> Type) m v . (PMapKey k, NonEmptyLike c, MonadThrow m) => k -> PMap c v -> m v

    greskell Data.Greskell.PMap

    MonadThrow version of lookup. If there is no value for the key, it throws PMapNoSuchKey.

Page 131 of many | Previous | Next