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.
pathToPMap :: Path a -> PMap Multi agreskell Data.Greskell.Graph Convert a Path into PMap. In the result PMap, the keys are the labels in the Path, and the values are the objects associated with the labels. The values are stored in the same order in the Path. Objects without any label are discarded.
module Data.Greskell.Graph.
PropertyMap PropertyMap was used in greskell prior than 1.0.0.0, but is now deprecated. Use Data.Greskell.PMap instead.
class
PropertyMap (m :: Type -> Type -> Type -> Type)greskell Data.Greskell.Graph.PropertyMap Deprecated: PropertyMap and its instances are deprecated. Use PMap instead.
data
PropertyMapList (p :: Type -> Type) vgreskell Data.Greskell.Graph.PropertyMap A PropertyMap that can keep more than one values per key. lookupOne returns the first property associated with the given key. putProperty prepends the given property to the property list. <> returns the union of the two given property maps. If the two property maps share some same keys, those property lists are concatenated.
data
PropertyMapSingle (p :: Type -> Type) vgreskell Data.Greskell.Graph.PropertyMap A PropertyMap that has a single value per key. putProperty replaces the old property by the given property. <> returns the union of the two given property maps. If the two property maps share some same keys, the value from the left map wins.
-
This module defines PMap, a map with Text keys and cardinality options.
data
PMap (c :: Type -> Type) vgreskell Data.Greskell.PMap A property map, which has text keys and v values. c specifies the cardinality of each item, and should be an instance of NonEmptyLike. You can look up values from PMap using key types of PMapKey class.
-
greskell Data.Greskell.PMap A typed key for PMap.
-
greskell Data.Greskell.PMap PMapNoSuchKey :: Text -> PMapLookupExceptiongreskell Data.Greskell.PMap The PMap doesn't have the given key.