twentyseven-0.0.0: Rubik's cube solver

Safe HaskellNone
LanguageHaskell2010

Data.Vector.Generic.Mutable.Loops

Description

Traversing mutable vectors.

Documentation

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