twentyseven-0.0.0: Rubik's cube solver
Data.Vector.Generic.Mutable.Loops
Description
Traversing mutable vectors.
type Loop m v a = v (PrimState m) a -> (a -> m ()) -> m () Source
type ILoop m v a = v (PrimState m) a -> (Int -> a -> m ()) -> m () Source
iForM_ :: (MVector v a, PrimMonad m) => ILoop m v a Source
forM_ :: (MVector v a, PrimMonad m) => Loop m v a Source
for' :: (Eq a, Monad m, Num a) => a -> a -> (a -> m a1) -> m () Source