Sophie

Sophie

distrib > Fedora > 19 > i386 > by-pkgid > 6141746cd5048a6ddf1cf3194274ce61 > files > 734

ghc-Agda-devel-2.3.2.1-5.fc19.i686.rpm

<!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>Agda.Compiler.HaskellTypes</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_Agda-Compiler-HaskellTypes.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Agda-Compiler-HaskellTypes.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">Agda-2.3.2.1: A dependently typed functional programming language and proof assistant</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr></table><p class="caption">Agda.Compiler.HaskellTypes</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Translating Agda types to Haskell types. Used to ensure that imported
   Haskell functions have the right type.
</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"><span class="keyword">type</span> <a href="#t:HaskellKind">HaskellKind</a> = <a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:hsStar">hsStar</a> :: <a href="Agda-Compiler-HaskellTypes.html#t:HaskellKind">HaskellKind</a></li><li class="src short"><a href="#v:hsKFun">hsKFun</a> :: <a href="Agda-Compiler-HaskellTypes.html#t:HaskellKind">HaskellKind</a> -&gt; <a href="Agda-Compiler-HaskellTypes.html#t:HaskellKind">HaskellKind</a> -&gt; <a href="Agda-Compiler-HaskellTypes.html#t:HaskellKind">HaskellKind</a></li><li class="src short"><a href="#v:hsFun">hsFun</a> :: <a href="Agda-Compiler-HaskellTypes.html#t:HaskellKind">HaskellKind</a> -&gt; <a href="Agda-Compiler-HaskellTypes.html#t:HaskellKind">HaskellKind</a> -&gt; <a href="Agda-Compiler-HaskellTypes.html#t:HaskellKind">HaskellKind</a></li><li class="src short"><a href="#v:hsUnit">hsUnit</a> :: <a href="Agda-TypeChecking-Monad-Base.html#t:HaskellType">HaskellType</a></li><li class="src short"><a href="#v:hsVar">hsVar</a> :: <a href="Agda-Syntax-Abstract-Name.html#t:Name">Name</a> -&gt; <a href="Agda-TypeChecking-Monad-Base.html#t:HaskellType">HaskellType</a></li><li class="src short"><a href="#v:hsApp">hsApp</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Data-String.html#t:String">String</a> -&gt; [<a href="Agda-TypeChecking-Monad-Base.html#t:HaskellType">HaskellType</a>] -&gt; <a href="Agda-TypeChecking-Monad-Base.html#t:HaskellType">HaskellType</a></li><li class="src short"><a href="#v:hsForall">hsForall</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Data-String.html#t:String">String</a> -&gt; <a href="Agda-TypeChecking-Monad-Base.html#t:HaskellType">HaskellType</a> -&gt; <a href="Agda-TypeChecking-Monad-Base.html#t:HaskellType">HaskellType</a></li><li class="src short"><a href="#v:notAHaskellKind">notAHaskellKind</a> ::  <a href="Agda-Syntax-Internal.html#t:Type">Type</a> -&gt; <a href="Agda-TypeChecking-Monad-Base.html#t:TCM">TCM</a> a</li><li class="src short"><a href="#v:notAHaskellType">notAHaskellType</a> ::  <a href="Agda-Syntax-Internal.html#t:Type">Type</a> -&gt; <a href="Agda-TypeChecking-Monad-Base.html#t:TCM">TCM</a> a</li><li class="src short"><a href="#v:getHsType">getHsType</a> :: <a href="Agda-Syntax-Abstract-Name.html#t:QName">QName</a> -&gt; <a href="Agda-TypeChecking-Monad-Base.html#t:TCM">TCM</a> <a href="Agda-TypeChecking-Monad-Base.html#t:HaskellType">HaskellType</a></li><li class="src short"><a href="#v:getHsVar">getHsVar</a> :: <a href="Agda-Syntax-Common.html#t:Nat">Nat</a> -&gt; <a href="Agda-TypeChecking-Monad-Base.html#t:TCM">TCM</a> <a href="Agda-TypeChecking-Monad-Base.html#t:HaskellCode">HaskellCode</a></li><li class="src short"><a href="#v:isHaskellKind">isHaskellKind</a> :: <a href="Agda-Syntax-Internal.html#t:Type">Type</a> -&gt; <a href="Agda-TypeChecking-Monad-Base.html#t:TCM">TCM</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:haskellKind">haskellKind</a> :: <a href="Agda-Syntax-Internal.html#t:Type">Type</a> -&gt; <a href="Agda-TypeChecking-Monad-Base.html#t:TCM">TCM</a> <a href="Agda-Compiler-HaskellTypes.html#t:HaskellKind">HaskellKind</a></li><li class="src short"><a href="#v:haskellType">haskellType</a> :: <a href="Agda-Syntax-Internal.html#t:Type">Type</a> -&gt; <a href="Agda-TypeChecking-Monad-Base.html#t:TCM">TCM</a> <a href="Agda-TypeChecking-Monad-Base.html#t:HaskellType">HaskellType</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:HaskellKind" class="def">HaskellKind</a> = <a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Data-String.html#t:String">String</a><a href="src/Agda-Compiler-HaskellTypes.html#HaskellKind" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:hsStar" class="def">hsStar</a> :: <a href="Agda-Compiler-HaskellTypes.html#t:HaskellKind">HaskellKind</a><a href="src/Agda-Compiler-HaskellTypes.html#hsStar" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:hsKFun" class="def">hsKFun</a> :: <a href="Agda-Compiler-HaskellTypes.html#t:HaskellKind">HaskellKind</a> -&gt; <a href="Agda-Compiler-HaskellTypes.html#t:HaskellKind">HaskellKind</a> -&gt; <a href="Agda-Compiler-HaskellTypes.html#t:HaskellKind">HaskellKind</a><a href="src/Agda-Compiler-HaskellTypes.html#hsKFun" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:hsFun" class="def">hsFun</a> :: <a href="Agda-Compiler-HaskellTypes.html#t:HaskellKind">HaskellKind</a> -&gt; <a href="Agda-Compiler-HaskellTypes.html#t:HaskellKind">HaskellKind</a> -&gt; <a href="Agda-Compiler-HaskellTypes.html#t:HaskellKind">HaskellKind</a><a href="src/Agda-Compiler-HaskellTypes.html#hsFun" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:hsUnit" class="def">hsUnit</a> :: <a href="Agda-TypeChecking-Monad-Base.html#t:HaskellType">HaskellType</a><a href="src/Agda-Compiler-HaskellTypes.html#hsUnit" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:hsVar" class="def">hsVar</a> :: <a href="Agda-Syntax-Abstract-Name.html#t:Name">Name</a> -&gt; <a href="Agda-TypeChecking-Monad-Base.html#t:HaskellType">HaskellType</a><a href="src/Agda-Compiler-HaskellTypes.html#hsVar" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:hsApp" class="def">hsApp</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Data-String.html#t:String">String</a> -&gt; [<a href="Agda-TypeChecking-Monad-Base.html#t:HaskellType">HaskellType</a>] -&gt; <a href="Agda-TypeChecking-Monad-Base.html#t:HaskellType">HaskellType</a><a href="src/Agda-Compiler-HaskellTypes.html#hsApp" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:hsForall" class="def">hsForall</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Data-String.html#t:String">String</a> -&gt; <a href="Agda-TypeChecking-Monad-Base.html#t:HaskellType">HaskellType</a> -&gt; <a href="Agda-TypeChecking-Monad-Base.html#t:HaskellType">HaskellType</a><a href="src/Agda-Compiler-HaskellTypes.html#hsForall" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:notAHaskellKind" class="def">notAHaskellKind</a> ::  <a href="Agda-Syntax-Internal.html#t:Type">Type</a> -&gt; <a href="Agda-TypeChecking-Monad-Base.html#t:TCM">TCM</a> a<a href="src/Agda-Compiler-HaskellTypes.html#notAHaskellKind" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:notAHaskellType" class="def">notAHaskellType</a> ::  <a href="Agda-Syntax-Internal.html#t:Type">Type</a> -&gt; <a href="Agda-TypeChecking-Monad-Base.html#t:TCM">TCM</a> a<a href="src/Agda-Compiler-HaskellTypes.html#notAHaskellType" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:getHsType" class="def">getHsType</a> :: <a href="Agda-Syntax-Abstract-Name.html#t:QName">QName</a> -&gt; <a href="Agda-TypeChecking-Monad-Base.html#t:TCM">TCM</a> <a href="Agda-TypeChecking-Monad-Base.html#t:HaskellType">HaskellType</a><a href="src/Agda-Compiler-HaskellTypes.html#getHsType" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:getHsVar" class="def">getHsVar</a> :: <a href="Agda-Syntax-Common.html#t:Nat">Nat</a> -&gt; <a href="Agda-TypeChecking-Monad-Base.html#t:TCM">TCM</a> <a href="Agda-TypeChecking-Monad-Base.html#t:HaskellCode">HaskellCode</a><a href="src/Agda-Compiler-HaskellTypes.html#getHsVar" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:isHaskellKind" class="def">isHaskellKind</a> :: <a href="Agda-Syntax-Internal.html#t:Type">Type</a> -&gt; <a href="Agda-TypeChecking-Monad-Base.html#t:TCM">TCM</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Data-Bool.html#t:Bool">Bool</a><a href="src/Agda-Compiler-HaskellTypes.html#isHaskellKind" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:haskellKind" class="def">haskellKind</a> :: <a href="Agda-Syntax-Internal.html#t:Type">Type</a> -&gt; <a href="Agda-TypeChecking-Monad-Base.html#t:TCM">TCM</a> <a href="Agda-Compiler-HaskellTypes.html#t:HaskellKind">HaskellKind</a><a href="src/Agda-Compiler-HaskellTypes.html#haskellKind" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:haskellType" class="def">haskellType</a> :: <a href="Agda-Syntax-Internal.html#t:Type">Type</a> -&gt; <a href="Agda-TypeChecking-Monad-Base.html#t:TCM">TCM</a> <a href="Agda-TypeChecking-Monad-Base.html#t:HaskellType">HaskellType</a><a href="src/Agda-Compiler-HaskellTypes.html#haskellType" class="link">Source</a></p><div class="doc"><p>Note that <code>Inf a b</code>, where <code>Inf</code> is the INFINITY builtin, is
 translated to <code><a href="translation of b">translation of b</a></code> (assuming that all coinductive
 builtins are defined).
</p><p>Note that if <code>haskellType</code> supported universe polymorphism then the
 special treatment of INFINITY might not be needed.
</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.11.0</p></div></body></html>