Hoogle Search

Within Stackage Nightly 2026-06-30 (ghc-9.12.4)

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

  1. setDimension :: forall ix (n :: Natural) . IsIndexDimension ix n => ix -> Dimension n -> Int -> ix

    massiv Data.Massiv.Core.Index

    Type safe way to set value of index at a particular dimension.

    Examples

    >>> setDimension (2 :> 3 :> 4 :. 5) Dim4 10
    10 :> 3 :> 4 :. 5
    

  2. setSzM :: (MonadThrow m, Index ix) => Sz ix -> Dim -> Sz Int -> m (Sz ix)

    massiv Data.Massiv.Core.Index

    Same as setDimM, but for Sz

    Example

    >>> import Data.Massiv.Core.Index
    
    >>> setSzM (Sz2 2 3) 2 (Sz1 1) :: IO Sz2
    Sz (1 :. 3)
    
    >>> setSzM (Sz2 2 3) 3 (Sz1 1) :: IO Sz2
    *** Exception: IndexDimensionException: (Dim 3) for (2 :. 3)
    

  3. setUnliftedArray :: (PrimMonad m, PrimUnlifted a) => MutableUnliftedArray (PrimState m) a -> a -> Int -> Int -> m ()

    primitive-unlifted Data.Primitive.Unlifted.Array

    No documentation available.

  4. setUnliftedArray :: PrimUnlifted a => MutableUnliftedArray s a -> a -> Int -> Int -> ST s ()

    primitive-unlifted Data.Primitive.Unlifted.Array.ST

    No documentation available.

  5. setSmallUnliftedArray :: (PrimMonad m, PrimUnlifted a) => SmallMutableUnliftedArray (PrimState m) a -> a -> Int -> Int -> m ()

    primitive-unlifted Data.Primitive.Unlifted.SmallArray

    No documentation available.

  6. setSmallUnliftedArray :: PrimUnlifted a => SmallMutableUnliftedArray s a -> a -> Int -> Int -> ST s ()

    primitive-unlifted Data.Primitive.Unlifted.SmallArray.ST

    No documentation available.

  7. setDirectedness :: (Ord el, Graph gr) => (GraphvizParams Node nl el cl l -> gr nl el -> a) -> GraphvizParams Node nl el cl l -> gr nl el -> a

    graphviz Data.GraphViz

    Determine if the provided Graph is directed or not and set the value of isDirected appropriately.

  8. setEdgeIDAttribute :: (LEdge el -> Attributes) -> LEdge (EdgeID el) -> Attributes

    graphviz Data.GraphViz

    Add a custom attribute to the list of attributes containing the value of the unique edge identifier.

  9. setID :: DotRepr dg n => GraphID -> dg n -> dg n

    graphviz Data.GraphViz.Types

    Set the ID of the graph.

  10. setIsDirected :: DotRepr dg n => Bool -> dg n -> dg n

    graphviz Data.GraphViz.Types

    Set whether a graph is directed or not.

Page 61 of many | Previous | Next