This file is indexed.

/usr/share/doc/libghc-gloss-doc/html/Graphics-Gloss-Interface-IO-Simulate.html is in libghc-gloss-doc 1.11.1.1-1build4.

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>Graphics.Gloss.Interface.IO.Simulate</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_Graphics-Gloss-Interface-IO-Simulate.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-Gloss-Interface-IO-Simulate.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">gloss-1.11.1.1: Painless 2D vector graphics, animations and simulations.</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">Graphics.Gloss.Interface.IO.Simulate</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Simulate mode is for producing an animation of some model who's picture
   changes over finite time steps. The behavior of the model can also depent
   on the current <code><a href="Graphics-Gloss-Interface-IO-Simulate.html#t:ViewPort">ViewPort</a></code>.</p></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">module <a href="Graphics-Gloss-Data-Display.html">Graphics.Gloss.Data.Display</a></li><li class="src short">module <a href="Graphics-Gloss-Data-Picture.html">Graphics.Gloss.Data.Picture</a></li><li class="src short">module <a href="Graphics-Gloss-Data-Color.html">Graphics.Gloss.Data.Color</a></li><li class="src short"><a href="#v:simulateIO">simulateIO</a> :: <span class="keyword">forall</span> model. <a href="Graphics-Gloss-Data-Display.html#t:Display">Display</a> -&gt; <a href="Graphics-Gloss-Data-Color.html#t:Color">Color</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; model -&gt; (model -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a>) -&gt; (<a href="Graphics-Gloss-Interface-IO-Simulate.html#t:ViewPort">ViewPort</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Float">Float</a> -&gt; model -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> model) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><span class="keyword">data</span> <a href="#t:ViewPort">ViewPort</a> = <a href="#v:ViewPort">ViewPort</a> {<ul class="subs"><li><a href="#v:viewPortTranslate">viewPortTranslate</a> :: !(<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Float">Float</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Float">Float</a>)</li><li><a href="#v:viewPortRotate">viewPortRotate</a> :: !<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Float">Float</a></li><li><a href="#v:viewPortScale">viewPortScale</a> :: !<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Float">Float</a></li></ul>}</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src">module <a href="Graphics-Gloss-Data-Display.html">Graphics.Gloss.Data.Display</a></p></div><div class="top"><p class="src">module <a href="Graphics-Gloss-Data-Picture.html">Graphics.Gloss.Data.Picture</a></p></div><div class="top"><p class="src">module <a href="Graphics-Gloss-Data-Color.html">Graphics.Gloss.Data.Color</a></p></div><div class="top"><p class="src"><a id="v:simulateIO" class="def">simulateIO</a> <a href="src/Graphics-Gloss-Interface-IO-Simulate.html#simulateIO" class="link">Source</a> <a href="#v:simulateIO" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-Gloss-Data-Display.html#t:Display">Display</a></td><td class="doc"><p>Display mode.</p></td></tr><tr><td class="src">-&gt; <a href="Graphics-Gloss-Data-Color.html#t:Color">Color</a></td><td class="doc"><p>Background color.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p>Number of simulation steps to take for each second of real time.</p></td></tr><tr><td class="src">-&gt; model</td><td class="doc"><p>The initial model.</p></td></tr><tr><td class="src">-&gt; (model -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a>)</td><td class="doc"><p>A function to convert the model to a picture.</p></td></tr><tr><td class="src">-&gt; (<a href="Graphics-Gloss-Interface-IO-Simulate.html#t:ViewPort">ViewPort</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Float">Float</a> -&gt; model -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> model)</td><td class="doc"><p>A function to step the model one iteration. It is passed the 
     current viewport and the amount of time for this simulation
     step (in seconds).</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty">&nbsp;</td></tr></table></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:ViewPort" class="def">ViewPort</a> <a href="src/Graphics-Gloss-Data-ViewPort.html#ViewPort" class="link">Source</a> <a href="#t:ViewPort" class="selflink">#</a></p><div class="doc"><p>The <code><a href="Graphics-Gloss-Interface-IO-Simulate.html#t:ViewPort">ViewPort</a></code> represents the global transformation applied to the displayed picture.
      When the user pans, zooms, or rotates the display then this changes the <code><a href="Graphics-Gloss-Interface-IO-Simulate.html#t:ViewPort">ViewPort</a></code>.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:ViewPort" class="def">ViewPort</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><ul><li><dfn class="src"><a id="v:viewPortTranslate" class="def">viewPortTranslate</a> :: !(<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Float">Float</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Float">Float</a>)</dfn><div class="doc"><p>Global translation.</p></div></li><li><dfn class="src"><a id="v:viewPortRotate" class="def">viewPortRotate</a> :: !<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Float">Float</a></dfn><div class="doc"><p>Global rotation (in degrees).</p></div></li><li><dfn class="src"><a id="v:viewPortScale" class="def">viewPortScale</a> :: !<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Float">Float</a></dfn><div class="doc"><p>Global scaling (of both x and y coordinates).</p></div></li></ul></div></td></tr></table></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>