/usr/share/doc/libghc-random-source-doc/html/Data-Random-Source-DevRandom.html is in libghc-random-source-doc 0.3.0.6-5build4.
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 10 | <!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.Random.Source.DevRandom</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_Data-Random-Source-DevRandom.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Data-Random-Source-DevRandom.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">random-source-0.3.0.6: Generic basis for random number generators</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Data.Random.Source.DevRandom</p></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"><span class="keyword">data</span> <a href="#t:DevRandom">DevRandom</a><ul class="subs"><li>= <a href="#v:DevRandom">DevRandom</a></li><li>| <a href="#v:DevURandom">DevURandom</a></li></ul></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:DevRandom" class="def">DevRandom</a> <a href="src/Data-Random-Source-DevRandom.html#DevRandom" class="link">Source</a> <a href="#t:DevRandom" class="selflink">#</a></p><div class="doc"><p>On systems that have it, /dev/random is a handy-dandy ready-to-use source
of nonsense. Keep in mind that on some systems, Linux included, /dev/random
collects "real" entropy, and if you don't have a good source of it, such as
special hardware for the purpose or a *lot* of network traffic, it's pretty easy
to suck the entropy pool dry with entropy-intensive applications. For many
purposes other than cryptography, /dev/urandom is preferable because when it
runs out of real entropy it'll still churn out pseudorandom data.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:DevRandom" class="def">DevRandom</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:DevURandom" class="def">DevURandom</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:DevRandom" class="caption collapser" onclick="toggleSection('i:DevRandom')">Instances</p><div id="section.i:DevRandom" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:DevRandom:Eq:1" class="instance expander" onclick="toggleSection('i:id:DevRandom:Eq:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Data-Random-Source-DevRandom.html#t:DevRandom">DevRandom</a></span> <a href="src/Data-Random-Source-DevRandom.html#line-25" class="link">Source</a> <a href="#t:DevRandom" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:DevRandom:Eq:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="Data-Random-Source-DevRandom.html#t:DevRandom">DevRandom</a> -> <a href="Data-Random-Source-DevRandom.html#t:DevRandom">DevRandom</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="Data-Random-Source-DevRandom.html#t:DevRandom">DevRandom</a> -> <a href="Data-Random-Source-DevRandom.html#t:DevRandom">DevRandom</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:DevRandom:Show:2" class="instance expander" onclick="toggleSection('i:id:DevRandom:Show:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> <a href="Data-Random-Source-DevRandom.html#t:DevRandom">DevRandom</a></span> <a href="src/Data-Random-Source-DevRandom.html#line-25" class="link">Source</a> <a href="#t:DevRandom" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:DevRandom:Show:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Data-Random-Source-DevRandom.html#t:DevRandom">DevRandom</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Data-Random-Source-DevRandom.html#t:DevRandom">DevRandom</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Data-Random-Source-DevRandom.html#t:DevRandom">DevRandom</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:DevRandom:RandomSource:3" class="instance expander" onclick="toggleSection('i:id:DevRandom:RandomSource:3')"></span> <a href="Data-Random-Internal-Source.html#t:RandomSource">RandomSource</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Data-Random-Source-DevRandom.html#t:DevRandom">DevRandom</a></span> <a href="src/Data-Random-Source-DevRandom.html#line-38" class="link">Source</a> <a href="#t:DevRandom" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:DevRandom:RandomSource:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:getRandomPrimFrom">getRandomPrimFrom</a> :: <a href="Data-Random-Source-DevRandom.html#t:DevRandom">DevRandom</a> -> <a href="Data-Random-Internal-Source.html#t:Prim">Prim</a> t -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> t <a href="src/Data-Random-Internal-Source.html#getRandomPrimFrom" class="link">Source</a> <a href="#v:getRandomPrimFrom" class="selflink">#</a></p><p class="src"><a href="#v:getRandomWord8From">getRandomWord8From</a> :: <a href="Data-Random-Source-DevRandom.html#t:DevRandom">DevRandom</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Word.html#t:Word8">Word8</a> <a href="src/Data-Random-Internal-Source.html#getRandomWord8From" class="link">Source</a> <a href="#v:getRandomWord8From" class="selflink">#</a></p><p class="src"><a href="#v:getRandomWord16From">getRandomWord16From</a> :: <a href="Data-Random-Source-DevRandom.html#t:DevRandom">DevRandom</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Word.html#t:Word16">Word16</a> <a href="src/Data-Random-Internal-Source.html#getRandomWord16From" class="link">Source</a> <a href="#v:getRandomWord16From" class="selflink">#</a></p><p class="src"><a href="#v:getRandomWord32From">getRandomWord32From</a> :: <a href="Data-Random-Source-DevRandom.html#t:DevRandom">DevRandom</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Word.html#t:Word32">Word32</a> <a href="src/Data-Random-Internal-Source.html#getRandomWord32From" class="link">Source</a> <a href="#v:getRandomWord32From" class="selflink">#</a></p><p class="src"><a href="#v:getRandomWord64From">getRandomWord64From</a> :: <a href="Data-Random-Source-DevRandom.html#t:DevRandom">DevRandom</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Word.html#t:Word64">Word64</a> <a href="src/Data-Random-Internal-Source.html#getRandomWord64From" class="link">Source</a> <a href="#v:getRandomWord64From" class="selflink">#</a></p><p class="src"><a href="#v:getRandomDoubleFrom">getRandomDoubleFrom</a> :: <a href="Data-Random-Source-DevRandom.html#t:DevRandom">DevRandom</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a> <a href="src/Data-Random-Internal-Source.html#getRandomDoubleFrom" class="link">Source</a> <a href="#v:getRandomDoubleFrom" class="selflink">#</a></p><p class="src"><a href="#v:getRandomNByteIntegerFrom">getRandomNByteIntegerFrom</a> :: <a href="Data-Random-Source-DevRandom.html#t:DevRandom">DevRandom</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> <a href="src/Data-Random-Internal-Source.html#getRandomNByteIntegerFrom" class="link">Source</a> <a href="#v:getRandomNByteIntegerFrom" class="selflink">#</a></p></div></div></td></tr></table></div></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></html>
|