/usr/share/doc/libghc-netwire-doc/html/FRP-Netwire-Noise.html is in libghc-netwire-doc 5.0.0-7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 | <!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>FRP.Netwire.Noise</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="file:///usr/share/javascript/mathjax/MathJax.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_FRP-Netwire-Noise.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/FRP-Netwire-Noise.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">netwire-5.0.0: Functional reactive programming library</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Copyright</th><td>(c) 2013 Ertugrul Soeylemez</td></tr><tr><th>License</th><td>BSD3</td></tr><tr><th>Maintainer</th><td>Ertugrul Soeylemez <es@ertes.de></td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">FRP.Netwire.Noise</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Noise generators</a></li><li><a href="#g:2">Convenience</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc empty"> </div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><a href="#v:noise">noise</a> :: (<a href="Control-Wire-Session.html#t:HasTime">HasTime</a> t s, <a href="file:///usr/share/doc/libghc-random-doc/html/System-Random.html#t:Random">Random</a> b, <a href="file:///usr/share/doc/libghc-random-doc/html/System-Random.html#t:RandomGen">RandomGen</a> g) => t -> g -> <a href="Control-Wire-Core.html#t:Wire">Wire</a> s e m a (<a href="Control-Wire-Unsafe-Event.html#t:Event">Event</a> b)</li><li class="src short"><a href="#v:noiseR">noiseR</a> :: (<a href="Control-Wire-Session.html#t:HasTime">HasTime</a> t s, <a href="file:///usr/share/doc/libghc-random-doc/html/System-Random.html#t:Random">Random</a> b, <a href="file:///usr/share/doc/libghc-random-doc/html/System-Random.html#t:RandomGen">RandomGen</a> g) => t -> (b, b) -> g -> <a href="Control-Wire-Core.html#t:Wire">Wire</a> s e m a (<a href="Control-Wire-Unsafe-Event.html#t:Event">Event</a> b)</li><li class="src short"><a href="#v:wackelkontakt">wackelkontakt</a> :: (<a href="Control-Wire-Session.html#t:HasTime">HasTime</a> t s, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#t:Monoid">Monoid</a> e, <a href="file:///usr/share/doc/libghc-random-doc/html/System-Random.html#t:RandomGen">RandomGen</a> g) => t -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> -> g -> <a href="Control-Wire-Core.html#t:Wire">Wire</a> s e m a a</li><li class="src short"><a href="#v:stdNoise">stdNoise</a> :: (<a href="Control-Wire-Session.html#t:HasTime">HasTime</a> t s, <a href="file:///usr/share/doc/libghc-random-doc/html/System-Random.html#t:Random">Random</a> b) => t -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -> <a href="Control-Wire-Core.html#t:Wire">Wire</a> s e m a (<a href="Control-Wire-Unsafe-Event.html#t:Event">Event</a> b)</li><li class="src short"><a href="#v:stdNoiseR">stdNoiseR</a> :: (<a href="Control-Wire-Session.html#t:HasTime">HasTime</a> t s, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m, <a href="file:///usr/share/doc/libghc-random-doc/html/System-Random.html#t:Random">Random</a> b) => t -> (b, b) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -> <a href="Control-Wire-Core.html#t:Wire">Wire</a> s e m a (<a href="Control-Wire-Unsafe-Event.html#t:Event">Event</a> b)</li><li class="src short"><a href="#v:stdWackelkontakt">stdWackelkontakt</a> :: (<a href="Control-Wire-Session.html#t:HasTime">HasTime</a> t s, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#t:Monoid">Monoid</a> e) => t -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -> <a href="Control-Wire-Core.html#t:Wire">Wire</a> s e m a a</li></ul></div><div id="interface"><h1 id="g:1">Noise generators</h1><div class="top"><p class="src"><a id="v:noise" class="def">noise</a> <a href="src/FRP-Netwire-Noise.html#noise" class="link">Source</a> <a href="#v:noise" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="Control-Wire-Session.html#t:HasTime">HasTime</a> t s, <a href="file:///usr/share/doc/libghc-random-doc/html/System-Random.html#t:Random">Random</a> b, <a href="file:///usr/share/doc/libghc-random-doc/html/System-Random.html#t:RandomGen">RandomGen</a> g)</td><td class="doc empty"> </td></tr><tr><td class="src">=> t</td><td class="doc"><p>Time period.</p></td></tr><tr><td class="src">-> g</td><td class="doc"><p>Random number generator.</p></td></tr><tr><td class="src">-> <a href="Control-Wire-Core.html#t:Wire">Wire</a> s e m a (<a href="Control-Wire-Unsafe-Event.html#t:Event">Event</a> b)</td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Noise events with the given distance between events. Use <code><a href="Control-Wire-Interval.html#v:hold">hold</a></code> or
<code><a href="Control-Wire-Interval.html#v:holdFor">holdFor</a></code> to generate a staircase.</p></div></div><div class="top"><p class="src"><a id="v:noiseR" class="def">noiseR</a> <a href="src/FRP-Netwire-Noise.html#noiseR" class="link">Source</a> <a href="#v:noiseR" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="Control-Wire-Session.html#t:HasTime">HasTime</a> t s, <a href="file:///usr/share/doc/libghc-random-doc/html/System-Random.html#t:Random">Random</a> b, <a href="file:///usr/share/doc/libghc-random-doc/html/System-Random.html#t:RandomGen">RandomGen</a> g)</td><td class="doc empty"> </td></tr><tr><td class="src">=> t</td><td class="doc"><p>Step duration.</p></td></tr><tr><td class="src">-> (b, b)</td><td class="doc"><p>Noise range.</p></td></tr><tr><td class="src">-> g</td><td class="doc"><p>Random number generator.</p></td></tr><tr><td class="src">-> <a href="Control-Wire-Core.html#t:Wire">Wire</a> s e m a (<a href="Control-Wire-Unsafe-Event.html#t:Event">Event</a> b)</td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Noise events with the given distance between events. Noise will be
in the given range. Use <code><a href="Control-Wire-Interval.html#v:hold">hold</a></code> or <code><a href="Control-Wire-Interval.html#v:holdFor">holdFor</a></code> to generate a staircase.</p></div></div><div class="top"><p class="src"><a id="v:wackelkontakt" class="def">wackelkontakt</a> <a href="src/FRP-Netwire-Noise.html#wackelkontakt" class="link">Source</a> <a href="#v:wackelkontakt" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="Control-Wire-Session.html#t:HasTime">HasTime</a> t s, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#t:Monoid">Monoid</a> e, <a href="file:///usr/share/doc/libghc-random-doc/html/System-Random.html#t:RandomGen">RandomGen</a> g)</td><td class="doc empty"> </td></tr><tr><td class="src">=> t</td><td class="doc"><p>Duration.</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></td><td class="doc"><p>Probability to produce.</p></td></tr><tr><td class="src">-> g</td><td class="doc"><p>Random number generator.</p></td></tr><tr><td class="src">-> <a href="Control-Wire-Core.html#t:Wire">Wire</a> s e m a a</td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Randomly produce or inhibit with the given probability, each time
for the given duration.</p><p>The name <em>Wackelkontakt</em> (German for <em>slack joint</em>) is a Netwire
running gag. It makes sure that you revisit the documentation from
time to time. =)</p><ul><li>Depends: now.</li></ul></div></div><h1 id="g:2">Convenience</h1><div class="top"><p class="src"><a id="v:stdNoise" class="def">stdNoise</a> <a href="src/FRP-Netwire-Noise.html#stdNoise" class="link">Source</a> <a href="#v:stdNoise" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="Control-Wire-Session.html#t:HasTime">HasTime</a> t s, <a href="file:///usr/share/doc/libghc-random-doc/html/System-Random.html#t:Random">Random</a> b)</td><td class="doc empty"> </td></tr><tr><td class="src">=> t</td><td class="doc"><p>Step duration.</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code><a href="file:///usr/share/doc/libghc-random-doc/html/System-Random.html#t:StdGen">StdGen</a></code> seed.</p></td></tr><tr><td class="src">-> <a href="Control-Wire-Core.html#t:Wire">Wire</a> s e m a (<a href="Control-Wire-Unsafe-Event.html#t:Event">Event</a> b)</td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Convenience interface to <code><a href="FRP-Netwire-Noise.html#v:noise">noise</a></code> for <code><a href="file:///usr/share/doc/libghc-random-doc/html/System-Random.html#t:StdGen">StdGen</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:stdNoiseR" class="def">stdNoiseR</a> <a href="src/FRP-Netwire-Noise.html#stdNoiseR" class="link">Source</a> <a href="#v:stdNoiseR" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="Control-Wire-Session.html#t:HasTime">HasTime</a> t s, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m, <a href="file:///usr/share/doc/libghc-random-doc/html/System-Random.html#t:Random">Random</a> b)</td><td class="doc empty"> </td></tr><tr><td class="src">=> t</td><td class="doc"><p>Step duration.</p></td></tr><tr><td class="src">-> (b, b)</td><td class="doc"><p>Noise range.</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code><a href="file:///usr/share/doc/libghc-random-doc/html/System-Random.html#t:StdGen">StdGen</a></code> seed.</p></td></tr><tr><td class="src">-> <a href="Control-Wire-Core.html#t:Wire">Wire</a> s e m a (<a href="Control-Wire-Unsafe-Event.html#t:Event">Event</a> b)</td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Convenience interface to <code><a href="FRP-Netwire-Noise.html#v:noiseR">noiseR</a></code> for <code><a href="file:///usr/share/doc/libghc-random-doc/html/System-Random.html#t:StdGen">StdGen</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:stdWackelkontakt" class="def">stdWackelkontakt</a> <a href="src/FRP-Netwire-Noise.html#stdWackelkontakt" class="link">Source</a> <a href="#v:stdWackelkontakt" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="Control-Wire-Session.html#t:HasTime">HasTime</a> t s, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#t:Monoid">Monoid</a> e)</td><td class="doc empty"> </td></tr><tr><td class="src">=> t</td><td class="doc"><p>Step duration.</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></td><td class="doc"><p>Probability to produce.</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code><a href="file:///usr/share/doc/libghc-random-doc/html/System-Random.html#t:StdGen">StdGen</a></code> seed.</p></td></tr><tr><td class="src">-> <a href="Control-Wire-Core.html#t:Wire">Wire</a> s e m a a</td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Convenience interface to <code><a href="FRP-Netwire-Noise.html#v:wackelkontakt">wackelkontakt</a></code> for <code><a href="file:///usr/share/doc/libghc-random-doc/html/System-Random.html#t:StdGen">StdGen</a></code>.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.2</p></div></body></html>
|