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. bitmapOfByteString :: Int -> Int -> BitmapFormat -> ByteString -> Bool -> Picture

    gloss-rendering Graphics.Gloss.Rendering

    O(size). Copy a ByteString of RGBA data into a bitmap with the given width and height. The boolean flag controls whether Gloss should cache the data between frames for speed. If you are programatically generating the image for each frame then use False. If you have loaded it from a file then use True.

  2. bitmapOfForeignPtr :: Int -> Int -> BitmapFormat -> ForeignPtr Word8 -> Bool -> Picture

    gloss-rendering Graphics.Gloss.Rendering

    O(1). Use a ForeignPtr of RGBA data as a bitmap with the given width and height. The boolean flag controls whether Gloss should cache the data between frames for speed. If you are programatically generating the image for each frame then use False. If you have loaded it from a file then use True.

  3. bitmapSize :: BitmapData -> (Int, Int)

    gloss-rendering Graphics.Gloss.Rendering

    width, height in pixels

  4. type NodeMap v = IntMap v

    graph-core Data.Core.Graph.NodeManager

    No documentation available.

  5. getNodeMap :: (Hashable k, Eq k) => NodeManager k -> NodeMap k

    graph-core Data.Core.Graph.NodeManager

    No documentation available.

  6. newtype FlattenedMap (c :: Type -> Type -> Type) k v

    greskell Data.Greskell

    JSON encoding of a map as an array of flattened key-value pairs. ToJSON instance of this type encodes the internal map as an array of keys and values. FromJSON instance of this type parses that flattened map.

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

  7. FlattenedMap :: c k v -> FlattenedMap (c :: Type -> Type -> Type) k v

    greskell Data.Greskell

    No documentation available.

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

    greskell Data.Greskell

    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.

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

    greskell Data.Greskell

    No documentation available.

  10. data GMapEntry k v

    greskell Data.Greskell

    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.

Page 1166 of many | Previous | Next