<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Data.Vector.Generic.New.Safe</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[ window.onload = function () {pageLoad();setSynopsis("mini_Data-Vector-Generic-New-Safe.html");}; //]]> </script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Data-Vector-Generic-New-Safe.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">vector-0.9.1: Efficient Arrays</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>non-portable</td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Maintainer</th><td>Roman Leshchinskiy <rl@cse.unsw.edu.au></td></tr><tr><th>Safe Haskell</th><td>Trustworthy</td></tr></table><p class="caption">Data.Vector.Generic.New.Safe</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Safe interface to <a href="Data-Vector-Generic-New.html">Data.Vector.Generic.New</a> </p></div></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:New" class="def">New</a> v a <a href="src/Data-Vector-Generic-New.html#New" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:New" class="def">New</a> (<span class="keyword">forall</span> s. <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Control-Monad-ST-Safe.html#t:ST">ST</a> s (<a href="Data-Vector-Generic.html#t:Mutable">Mutable</a> v s a))</td><td class="doc empty"> </td></tr></table></div></div><div class="top"><p class="src"><a name="v:create" class="def">create</a> :: (<span class="keyword">forall</span> s. <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Control-Monad-ST-Safe.html#t:ST">ST</a> s (<a href="Data-Vector-Generic.html#t:Mutable">Mutable</a> v s a)) -> <a href="Data-Vector-Generic-New-Safe.html#t:New">New</a> v a<a href="src/Data-Vector-Generic-New.html#create" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:run" class="def">run</a> :: <a href="Data-Vector-Generic-New-Safe.html#t:New">New</a> v a -> <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Control-Monad-ST-Safe.html#t:ST">ST</a> s (<a href="Data-Vector-Generic.html#t:Mutable">Mutable</a> v s a)<a href="src/Data-Vector-Generic-New.html#run" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:apply" class="def">apply</a> :: (<span class="keyword">forall</span> s. <a href="Data-Vector-Generic.html#t:Mutable">Mutable</a> v s a -> <a href="Data-Vector-Generic.html#t:Mutable">Mutable</a> v s a) -> <a href="Data-Vector-Generic-New-Safe.html#t:New">New</a> v a -> <a href="Data-Vector-Generic-New-Safe.html#t:New">New</a> v a<a href="src/Data-Vector-Generic-New.html#apply" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:modify" class="def">modify</a> :: (<span class="keyword">forall</span> s. <a href="Data-Vector-Generic.html#t:Mutable">Mutable</a> v s a -> <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Control-Monad-ST-Safe.html#t:ST">ST</a> s <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a>) -> <a href="Data-Vector-Generic-New-Safe.html#t:New">New</a> v a -> <a href="Data-Vector-Generic-New-Safe.html#t:New">New</a> v a<a href="src/Data-Vector-Generic-New.html#modify" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:modifyWithStream" class="def">modifyWithStream</a> :: (<span class="keyword">forall</span> s. <a href="Data-Vector-Generic.html#t:Mutable">Mutable</a> v s a -> <a href="Data-Vector-Fusion-Stream.html#t:Stream">Stream</a> b -> <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Control-Monad-ST-Safe.html#t:ST">ST</a> s <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a>) -> <a href="Data-Vector-Generic-New-Safe.html#t:New">New</a> v a -> <a href="Data-Vector-Fusion-Stream.html#t:Stream">Stream</a> b -> <a href="Data-Vector-Generic-New-Safe.html#t:New">New</a> v a<a href="src/Data-Vector-Generic-New.html#modifyWithStream" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:unstream" class="def">unstream</a> :: <a href="Data-Vector-Generic.html#t:Vector">Vector</a> v a => <a href="Data-Vector-Fusion-Stream.html#t:Stream">Stream</a> a -> <a href="Data-Vector-Generic-New-Safe.html#t:New">New</a> v a<a href="src/Data-Vector-Generic-New.html#unstream" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:transform" class="def">transform</a> :: <a href="Data-Vector-Generic.html#t:Vector">Vector</a> v a => (<span class="keyword">forall</span> m. <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Control-Monad.html#t:Monad">Monad</a> m => <a href="Data-Vector-Fusion-Stream.html#t:MStream">MStream</a> m a -> <a href="Data-Vector-Fusion-Stream.html#t:MStream">MStream</a> m a) -> <a href="Data-Vector-Generic-New-Safe.html#t:New">New</a> v a -> <a href="Data-Vector-Generic-New-Safe.html#t:New">New</a> v a<a href="src/Data-Vector-Generic-New.html#transform" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:unstreamR" class="def">unstreamR</a> :: <a href="Data-Vector-Generic.html#t:Vector">Vector</a> v a => <a href="Data-Vector-Fusion-Stream.html#t:Stream">Stream</a> a -> <a href="Data-Vector-Generic-New-Safe.html#t:New">New</a> v a<a href="src/Data-Vector-Generic-New.html#unstreamR" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:transformR" class="def">transformR</a> :: <a href="Data-Vector-Generic.html#t:Vector">Vector</a> v a => (<span class="keyword">forall</span> m. <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Control-Monad.html#t:Monad">Monad</a> m => <a href="Data-Vector-Fusion-Stream.html#t:MStream">MStream</a> m a -> <a href="Data-Vector-Fusion-Stream.html#t:MStream">MStream</a> m a) -> <a href="Data-Vector-Generic-New-Safe.html#t:New">New</a> v a -> <a href="Data-Vector-Generic-New-Safe.html#t:New">New</a> v a<a href="src/Data-Vector-Generic-New.html#transformR" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:slice" class="def">slice</a> :: <a href="Data-Vector-Generic.html#t:Vector">Vector</a> v a => <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a> -> <a href="Data-Vector-Generic-New-Safe.html#t:New">New</a> v a -> <a href="Data-Vector-Generic-New-Safe.html#t:New">New</a> v a<a href="src/Data-Vector-Generic-New.html#slice" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:init" class="def">init</a> :: <a href="Data-Vector-Generic.html#t:Vector">Vector</a> v a => <a href="Data-Vector-Generic-New-Safe.html#t:New">New</a> v a -> <a href="Data-Vector-Generic-New-Safe.html#t:New">New</a> v a<a href="src/Data-Vector-Generic-New.html#init" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:tail" class="def">tail</a> :: <a href="Data-Vector-Generic.html#t:Vector">Vector</a> v a => <a href="Data-Vector-Generic-New-Safe.html#t:New">New</a> v a -> <a href="Data-Vector-Generic-New-Safe.html#t:New">New</a> v a<a href="src/Data-Vector-Generic-New.html#tail" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:take" class="def">take</a> :: <a href="Data-Vector-Generic.html#t:Vector">Vector</a> v a => <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a> -> <a href="Data-Vector-Generic-New-Safe.html#t:New">New</a> v a -> <a href="Data-Vector-Generic-New-Safe.html#t:New">New</a> v a<a href="src/Data-Vector-Generic-New.html#take" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:drop" class="def">drop</a> :: <a href="Data-Vector-Generic.html#t:Vector">Vector</a> v a => <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a> -> <a href="Data-Vector-Generic-New-Safe.html#t:New">New</a> v a -> <a href="Data-Vector-Generic-New-Safe.html#t:New">New</a> v a<a href="src/Data-Vector-Generic-New.html#drop" class="link">Source</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.10.0</p></div></body></html>