Safe Haskell | Safe-Infered |
---|
Some functions currently missing from Data.Vector.Fusion.Stream.Monadic.
Documentation
genericLength :: (Monad m, Num n) => Stream m α -> m nSource
genericTake :: (Monad m, Integral n) => n -> Stream m α -> Stream m αSource
genericDrop :: (Monad m, Integral n) => n -> Stream m α -> Stream m αSource
genericIndex :: (Monad m, Integral n, Show n) => Stream m α -> n -> m αSource
genericReplicate :: (Monad m, Integral n) => n -> α -> Stream m αSource
genericReplicateM :: (Monad m, Integral n) => n -> m α -> Stream m αSource
genericUnfoldrN :: (Monad m, Integral n) => n -> (β -> Maybe (α, β)) -> β -> Stream m αSource
genericUnfoldrNM :: (Monad m, Integral n) => n -> (β -> m (Maybe (α, β))) -> β -> Stream m αSource
genericIndexed :: (Monad m, Integral n) => Stream m α -> Stream m (n, α)Source