/usr/share/doc/libghc-opengl-doc/html/Graphics-Rendering-OpenGL-GL-StringQueries.html is in libghc-opengl-doc 3.0.1.0-3.
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.Rendering.OpenGL.GL.StringQueries</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-Rendering-OpenGL-GL-StringQueries.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-Rendering-OpenGL-GL-StringQueries.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">OpenGL-3.0.1.0: A binding for the OpenGL graphics system</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Copyright</th><td>(c) Sven Panne 2002-2016</td></tr><tr><th>License</th><td>BSD3</td></tr><tr><th>Maintainer</th><td>Sven Panne <svenpanne@gmail.com></td></tr><tr><th>Stability</th><td>stable</td></tr><tr><th>Portability</th><td>portable</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">Graphics.Rendering.OpenGL.GL.StringQueries</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>This module corresponds to parts of section 6.1.5 (String Queries) of the
OpenGL 3.2 specs.</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"><a href="#v:vendor">vendor</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:renderer">renderer</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:glVersion">glVersion</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:glExtensions">glExtensions</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a>]</li><li class="src short"><a href="#v:extensionSupported">extensionSupported</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:shadingLanguageVersion">shadingLanguageVersion</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:majorMinor">majorMinor</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</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="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a>)</li><li class="src short"><span class="keyword">data</span> <a href="#t:ContextProfile-39-">ContextProfile'</a><ul class="subs"><li>= <a href="#v:CoreProfile-39-">CoreProfile'</a></li><li>| <a href="#v:CompatibilityProfile-39-">CompatibilityProfile'</a></li></ul></li><li class="src short"><a href="#v:contextProfile">contextProfile</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> [<a href="Graphics-Rendering-OpenGL-GL-StringQueries.html#t:ContextProfile-39-">ContextProfile'</a>]</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a id="v:vendor" class="def">vendor</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="src/Graphics-Rendering-OpenGL-GL-StringQueries.html#vendor" class="link">Source</a> <a href="#v:vendor" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:renderer" class="def">renderer</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="src/Graphics-Rendering-OpenGL-GL-StringQueries.html#renderer" class="link">Source</a> <a href="#v:renderer" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:glVersion" class="def">glVersion</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="src/Graphics-Rendering-OpenGL-GL-StringQueries.html#glVersion" class="link">Source</a> <a href="#v:glVersion" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:glExtensions" class="def">glExtensions</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a>] <a href="src/Graphics-Rendering-OpenGL-GL-StringQueries.html#glExtensions" class="link">Source</a> <a href="#v:glExtensions" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:extensionSupported" class="def">extensionSupported</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Graphics-Rendering-OpenGL-GL-StringQueries.html#extensionSupported" class="link">Source</a> <a href="#v:extensionSupported" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:shadingLanguageVersion" class="def">shadingLanguageVersion</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="src/Graphics-Rendering-OpenGL-GL-StringQueries.html#shadingLanguageVersion" class="link">Source</a> <a href="#v:shadingLanguageVersion" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:majorMinor" class="def">majorMinor</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</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="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a>) <a href="src/Graphics-Rendering-OpenGL-GL-StringQueries.html#majorMinor" class="link">Source</a> <a href="#v:majorMinor" class="selflink">#</a></p><div class="doc"><p>A utility function to be used with e.g. <code><a href="Graphics-Rendering-OpenGL-GL-StringQueries.html#v:glVersion">glVersion</a></code> or
<code><a href="Graphics-Rendering-OpenGL-GL-StringQueries.html#v:shadingLanguageVersion">shadingLanguageVersion</a></code>, transforming a variable containing a string of the
form <em>major.minor[optional rest]</em> into a variable containing a numeric
major/minor version. If the string is malformed, which should never happen
with a sane OpenGL implementation, it is transformed to <code>(-1,-1)</code>.</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:ContextProfile-39-" class="def">ContextProfile'</a> <a href="src/Graphics-Rendering-OpenGL-GL-StringQueries.html#ContextProfile%27" class="link">Source</a> <a href="#t:ContextProfile-39-" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:CoreProfile-39-" class="def">CoreProfile'</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:CompatibilityProfile-39-" class="def">CompatibilityProfile'</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:ContextProfile-39-" class="caption collapser" onclick="toggleSection('i:ContextProfile-39-')">Instances</p><div id="section.i:ContextProfile-39-" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:ContextProfile-39-:Eq:1" class="instance expander" onclick="toggleSection('i:id:ContextProfile-39-:Eq:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-Rendering-OpenGL-GL-StringQueries.html#t:ContextProfile-39-">ContextProfile'</a></span> <a href="src/Graphics-Rendering-OpenGL-GL-StringQueries.html#line-60" class="link">Source</a> <a href="#t:ContextProfile-39-" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:ContextProfile-39-: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="Graphics-Rendering-OpenGL-GL-StringQueries.html#t:ContextProfile-39-">ContextProfile'</a> -> <a href="Graphics-Rendering-OpenGL-GL-StringQueries.html#t:ContextProfile-39-">ContextProfile'</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.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="Graphics-Rendering-OpenGL-GL-StringQueries.html#t:ContextProfile-39-">ContextProfile'</a> -> <a href="Graphics-Rendering-OpenGL-GL-StringQueries.html#t:ContextProfile-39-">ContextProfile'</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.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:ContextProfile-39-:Ord:2" class="instance expander" onclick="toggleSection('i:id:ContextProfile-39-:Ord:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> <a href="Graphics-Rendering-OpenGL-GL-StringQueries.html#t:ContextProfile-39-">ContextProfile'</a></span> <a href="src/Graphics-Rendering-OpenGL-GL-StringQueries.html#line-60" class="link">Source</a> <a href="#t:ContextProfile-39-" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:ContextProfile-39-:Ord:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:compare">compare</a> :: <a href="Graphics-Rendering-OpenGL-GL-StringQueries.html#t:ContextProfile-39-">ContextProfile'</a> -> <a href="Graphics-Rendering-OpenGL-GL-StringQueries.html#t:ContextProfile-39-">ContextProfile'</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ordering">Ordering</a> <a href="#v:compare" class="selflink">#</a></p><p class="src"><a href="#v:-60-">(<)</a> :: <a href="Graphics-Rendering-OpenGL-GL-StringQueries.html#t:ContextProfile-39-">ContextProfile'</a> -> <a href="Graphics-Rendering-OpenGL-GL-StringQueries.html#t:ContextProfile-39-">ContextProfile'</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60-" class="selflink">#</a></p><p class="src"><a href="#v:-60--61-">(<=)</a> :: <a href="Graphics-Rendering-OpenGL-GL-StringQueries.html#t:ContextProfile-39-">ContextProfile'</a> -> <a href="Graphics-Rendering-OpenGL-GL-StringQueries.html#t:ContextProfile-39-">ContextProfile'</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60--61-" class="selflink">#</a></p><p class="src"><a href="#v:-62-">(>)</a> :: <a href="Graphics-Rendering-OpenGL-GL-StringQueries.html#t:ContextProfile-39-">ContextProfile'</a> -> <a href="Graphics-Rendering-OpenGL-GL-StringQueries.html#t:ContextProfile-39-">ContextProfile'</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62-" class="selflink">#</a></p><p class="src"><a href="#v:-62--61-">(>=)</a> :: <a href="Graphics-Rendering-OpenGL-GL-StringQueries.html#t:ContextProfile-39-">ContextProfile'</a> -> <a href="Graphics-Rendering-OpenGL-GL-StringQueries.html#t:ContextProfile-39-">ContextProfile'</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62--61-" class="selflink">#</a></p><p class="src"><a href="#v:max">max</a> :: <a href="Graphics-Rendering-OpenGL-GL-StringQueries.html#t:ContextProfile-39-">ContextProfile'</a> -> <a href="Graphics-Rendering-OpenGL-GL-StringQueries.html#t:ContextProfile-39-">ContextProfile'</a> -> <a href="Graphics-Rendering-OpenGL-GL-StringQueries.html#t:ContextProfile-39-">ContextProfile'</a> <a href="#v:max" class="selflink">#</a></p><p class="src"><a href="#v:min">min</a> :: <a href="Graphics-Rendering-OpenGL-GL-StringQueries.html#t:ContextProfile-39-">ContextProfile'</a> -> <a href="Graphics-Rendering-OpenGL-GL-StringQueries.html#t:ContextProfile-39-">ContextProfile'</a> -> <a href="Graphics-Rendering-OpenGL-GL-StringQueries.html#t:ContextProfile-39-">ContextProfile'</a> <a href="#v:min" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:ContextProfile-39-:Show:3" class="instance expander" onclick="toggleSection('i:id:ContextProfile-39-:Show:3')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> <a href="Graphics-Rendering-OpenGL-GL-StringQueries.html#t:ContextProfile-39-">ContextProfile'</a></span> <a href="src/Graphics-Rendering-OpenGL-GL-StringQueries.html#line-60" class="link">Source</a> <a href="#t:ContextProfile-39-" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:ContextProfile-39-:Show:3" 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.0.0/Data-Int.html#t:Int">Int</a> -> <a href="Graphics-Rendering-OpenGL-GL-StringQueries.html#t:ContextProfile-39-">ContextProfile'</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.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="Graphics-Rendering-OpenGL-GL-StringQueries.html#t:ContextProfile-39-">ContextProfile'</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.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="Graphics-Rendering-OpenGL-GL-StringQueries.html#t:ContextProfile-39-">ContextProfile'</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:contextProfile" class="def">contextProfile</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> [<a href="Graphics-Rendering-OpenGL-GL-StringQueries.html#t:ContextProfile-39-">ContextProfile'</a>] <a href="src/Graphics-Rendering-OpenGL-GL-StringQueries.html#contextProfile" class="link">Source</a> <a href="#v:contextProfile" class="selflink">#</a></p></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>
|