Safe Haskell | None |
---|---|

Language | Haskell2010 |

Some functions currently missing from Data.Vector.Fusion.Stream.

# Documentation

genericLength :: Num n => Stream α -> n Source

genericTake :: Integral n => n -> Stream α -> Stream α Source

genericDrop :: Integral n => n -> Stream α -> Stream α Source

genericIndex :: (Integral n, Show n) => Stream α -> n -> α Source

genericReplicate :: Integral n => n -> α -> Stream α Source

genericUnfoldrN :: Integral n => n -> (β -> Maybe (α, β)) -> β -> Stream α Source

genericIndexed :: Integral n => Stream α -> Stream (n, α) Source