Hoogle Search

Within LTS Haskell 24.49 (ghc-9.10.3)

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

  1. forM_ :: forall m (n :: Nat) a b . Monad m => Vector n a -> (a -> m b) -> m ()

    vector-sized Data.Vector.Sized

    O(n) Apply the monadic action to all elements of a vector and ignore the results. Equivalent to flip mapM_.

  2. force :: forall (n :: Nat) a . Vector n a -> Vector n a

    vector-sized Data.Vector.Sized

    O(n) Yield the argument but force it not to retain any extra memory, possibly by copying it. This is especially useful when dealing with slices. For example:

    force (slice 0 2 <huge vector>)
    
    Here, the slice retains a reference to the huge vector. Forcing it creates a copy of just the elements that belong to the slice and allows the huge vector to be garbage collected.

  3. forM :: forall m a b (n :: Nat) . (Monad m, Storable a, Storable b) => Vector n a -> (a -> m b) -> m (Vector n b)

    vector-sized Data.Vector.Storable.Sized

    O(n) Apply the monadic action to all elements of the vector, yielding a vector of results. Equvalent to flip mapM.

  4. forM_ :: forall m a (n :: Nat) b . (Monad m, Storable a) => Vector n a -> (a -> m b) -> m ()

    vector-sized Data.Vector.Storable.Sized

    O(n) Apply the monadic action to all elements of a vector and ignore the results. Equivalent to flip mapM_.

  5. force :: forall a (n :: Nat) . Storable a => Vector n a -> Vector n a

    vector-sized Data.Vector.Storable.Sized

    O(n) Yield the argument but force it not to retain any extra memory, possibly by copying it. This is especially useful when dealing with slices. For example:

    force (slice 0 2 <huge vector>)
    
    Here, the slice retains a reference to the huge vector. Forcing it creates a copy of just the elements that belong to the slice and allows the huge vector to be garbage collected.

  6. forM :: forall m a b (n :: Nat) . (Monad m, Unbox a, Unbox b) => Vector n a -> (a -> m b) -> m (Vector n b)

    vector-sized Data.Vector.Unboxed.Sized

    O(n) Apply the monadic action to all elements of the vector, yielding a vector of results. Equvalent to flip mapM.

  7. forM_ :: forall m a (n :: Nat) b . (Monad m, Unbox a) => Vector n a -> (a -> m b) -> m ()

    vector-sized Data.Vector.Unboxed.Sized

    O(n) Apply the monadic action to all elements of a vector and ignore the results. Equivalent to flip mapM_.

  8. force :: forall a (n :: Nat) . Unbox a => Vector n a -> Vector n a

    vector-sized Data.Vector.Unboxed.Sized

    O(n) Yield the argument but force it not to retain any extra memory, possibly by copying it. This is especially useful when dealing with slices. For example:

    force (slice 0 2 <huge vector>)
    
    Here, the slice retains a reference to the huge vector. Forcing it creates a copy of just the elements that belong to the slice and allows the huge vector to be garbage collected.

  9. foreColorDiff :: DisplayAttrDiff -> DisplayColorDiff

    vty Graphics.Vty.DisplayAttributes

    No documentation available.

  10. foreColor :: Color -> InlineM ()

    vty Graphics.Vty.Inline

    Set the foreground color to the provided Color.

Page 53 of many | Previous | Next