Hoogle Search

Within LTS Haskell 24.68 (ghc-9.10.3)

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

  1. fromAdjacencyIntMap :: AdjacencyIntMap -> GraphKL Int

    algebraic-graphs Data.Graph.Typed

    Build GraphKL from an AdjacencyIntMap. If fromAdjacencyIntMap g == h then the following holds:

    map (fromVertexKL h) (vertices $ toGraphKL h)                               == toAscList (vertexIntSet g)
    map (\(x, y) -> (fromVertexKL h x, fromVertexKL h y)) (edges $ toGraphKL h) == edgeList g
    toGraphKL (fromAdjacencyIntMap (1 * 2 + 3 * 1))                             == array (0,2) [(0,[1]), (1,[]), (2,[0])]
    toGraphKL (fromAdjacencyIntMap (1 * 2 + 2 * 1))                             == array (0,1) [(0,[1]), (1,[0])]
    

  2. fromAdjacencyMap :: Ord a => AdjacencyMap a -> GraphKL a

    algebraic-graphs Data.Graph.Typed

    Build GraphKL from an AdjacencyMap. If fromAdjacencyMap g == h then the following holds:

    map (fromVertexKL h) (vertices $ toGraphKL h)                               == vertexList g
    map (\(x, y) -> (fromVertexKL h x, fromVertexKL h y)) (edges $ toGraphKL h) == edgeList g
    toGraphKL (fromAdjacencyMap (1 * 2 + 3 * 1))                                == array (0,2) [(0,[1]), (1,[]), (2,[0])]
    toGraphKL (fromAdjacencyMap (1 * 2 + 2 * 1))                                == array (0,1) [(0,[1]), (1,[0])]
    

  3. canMmapSampleResolution :: T i y Bool

    alsa-pcm Sound.ALSA.PCM.Parameters.Hardware

    No documentation available.

  4. timestampMmap :: TimestampMode

    alsa-pcm Sound.ALSA.PCM.Parameters.Software

    No documentation available.

  5. fmap :: (Traversable f, Backprop a, Backprop b, Reifies s W) => (BVar s a -> BVar s b) -> BVar s (f a) -> BVar s (f b)

    backprop Prelude.Backprop

    Lifted fmap. Lifts backpropagatable functions to be backpropagatable functions on Traversable Functors.

  6. fmapConst :: (Functor f, Foldable f, Backprop b, Backprop (f a), Reifies s W) => BVar s b -> BVar s (f a) -> BVar s (f b)

    backprop Prelude.Backprop

    Efficient version of fmap when used to "replace" all values in a Functor value.

    fmapConst x = fmap (const x)
    
    but much more efficient.

  7. fmap :: (Traversable f, Reifies s W) => AddFunc a -> AddFunc b -> ZeroFunc a -> ZeroFunc b -> (BVar s a -> BVar s b) -> BVar s (f a) -> BVar s (f b)

    backprop Prelude.Backprop.Explicit

    fmap, but taking explicit add and zero.

  8. fmapConst :: (Functor f, Foldable f, Reifies s W) => AddFunc (f a) -> AddFunc b -> ZeroFunc (f a) -> ZeroFunc b -> BVar s b -> BVar s (f a) -> BVar s (f b)

    backprop Prelude.Backprop.Explicit

    fmapConst, but taking explicit add and zero.

  9. fmap :: (Traversable f, Num a, Num b, Reifies s W) => (BVar s a -> BVar s b) -> BVar s (f a) -> BVar s (f b)

    backprop Prelude.Backprop.Num

    fmap, but with Num constraints instead of Backprop constraints.

  10. fmapConst :: (Functor f, Foldable f, Num b, Num (f a), Reifies s W) => BVar s b -> BVar s (f a) -> BVar s (f b)

    backprop Prelude.Backprop.Num

    fmapConst, but with Num constraints instead of Backprop constraints.

Page 1017 of many | Previous | Next