Copyright | (c) Roman Leshchinskiy 2008-2010 |
---|---|

License | BSD-style |

Maintainer | Roman Leshchinskiy <rl@cse.unsw.edu.au> |

Stability | experimental |

Portability | non-portable |

Safe Haskell | None |

Language | Haskell2010 |

Purely functional interface to initialisation of mutable vectors

# Documentation

modifyWithStream :: (forall s. Mutable v s a -> Stream b -> ST s ()) -> New v a -> Stream b -> New v a Source

transform :: Vector v a => (forall m. Monad m => MStream m a -> MStream m a) -> New v a -> New v a Source

transformR :: Vector v a => (forall m. Monad m => MStream m a -> MStream m a) -> New v a -> New v a Source

unsafeInit :: Vector v a => New v a -> New v a Source

unsafeTail :: Vector v a => New v a -> New v a Source