Hoogle Search

Within LTS Haskell 24.45 (ghc-9.10.3)

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

  1. data GMap (c :: Type -> Type -> Type) k v

    greskell-core Data.Greskell.GMap

    Haskell representation of g:Map type. GraphSON v1 and v2 encode Java Map type as a JSON Object, while GraphSON v3 encodes it as an array of flattened keys and values (like FlattenedMap.) GMap type handles both encoding schemes.

    • type c: container type for a map (e.g. Map and HashMap).
    • type k: key of the map.
    • type v: value of the map.

  2. GMap :: Bool -> !c k v -> GMap (c :: Type -> Type -> Type) k v

    greskell-core Data.Greskell.GMap

    No documentation available.

  3. data GMapEntry k v

    greskell-core Data.Greskell.GMap

    Haskell representation of Map.Entry type. Basically GraphSON encodes Java's Map.Entry type as if it were a Map with a single entry. Thus its encoded form is either a JSON object or a flattened key-values, as explained in GMap. In old versions of TinkerPop, Map.Entry is encoded as a JSON object with "key" and "value" fields. FromJSON instance of GMapEntry supports this format as well, but ToJSON instance doesn't support it.

  4. GMapEntry :: Bool -> k -> v -> GMapEntry k v

    greskell-core Data.Greskell.GMap

    No documentation available.

  5. gmapEntryFlat :: GMapEntry k v -> !Bool

    greskell-core Data.Greskell.GMap

    No documentation available.

  6. gmapEntryKey :: GMapEntry k v -> !k

    greskell-core Data.Greskell.GMap

    No documentation available.

  7. gmapEntryValue :: GMapEntry k v -> !v

    greskell-core Data.Greskell.GMap

    No documentation available.

  8. gmapFlat :: GMap (c :: Type -> Type -> Type) k v -> !Bool

    greskell-core Data.Greskell.GMap

    If True, the map is encoded as an array. If False, it's encoded as a JSON Object.

  9. gmapValue :: GMap (c :: Type -> Type -> Type) k v -> !c k v

    greskell-core Data.Greskell.GMap

    Map implementation.

  10. parseToFlattenedMap :: forall (c :: Type -> Type -> Type) k v s . (IsList (c k v), Item (c k v) ~ (k, v)) => (s -> Parser k) -> (s -> Parser v) -> Vector s -> Parser (FlattenedMap c k v)

    greskell-core Data.Greskell.GMap

    General parser for FlattenedMap.

Page 985 of many | Previous | Next