-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAbstract-Complete.html
8 lines (8 loc) · 5.22 KB
/
Abstract-Complete.html
1
2
3
4
5
6
7
8
<!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>Abstract.Complete</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Abstract-Complete.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Abstract.Complete.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">verigraph-1.1.1: Software specification and verification tool based on graph rewriting.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>Safe</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">Abstract.Complete</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">class</span> <a href="Abstract-Morphism.html#t:Morphism">Morphism</a> m => <a href="#t:Complete">Complete</a> m <span class="keyword">where</span><ul class="subs"></ul></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">class</span> <a href="Abstract-Morphism.html#t:Morphism">Morphism</a> m => <a id="t:Complete" class="def">Complete</a> m <span class="keyword">where</span> <a href="src/Abstract.Complete.html#Complete" class="link">Source</a> <a href="#t:Complete" class="selflink">#</a></p><div class="doc"><p>Type class for morphisms whose category is Complete.</p><p>Mainly provides categorical operations that Complete categories
are guaranteed to have.</p><p>Note that for performance reasons, verigraph assumes that the parameters
are valid for all functions in this module.</p></div><div class="subs minimal"><p class="caption">Minimal complete definition</p><p class="src"><a href="Abstract-Complete.html#v:calculateEqualizer">calculateEqualizer</a>, <a href="Abstract-Complete.html#v:calculateNEqualizer">calculateNEqualizer</a>, <a href="Abstract-Complete.html#v:calculateProduct">calculateProduct</a>, <a href="Abstract-Complete.html#v:calculateNProduct">calculateNProduct</a>, <a href="Abstract-Complete.html#v:finalObject">finalObject</a></p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a id="v:calculateEqualizer" class="def">calculateEqualizer</a> :: m -> m -> m <a href="src/Abstract.Complete.html#calculateEqualizer" class="link">Source</a> <a href="#v:calculateEqualizer" class="selflink">#</a></p><div class="doc"><p>Given two morphisms <code><em>f : A -> B</em></code> and <code><em>g : A -> B</em></code> retuns the equalizer morphism
<code><em>h : X -> A</em></code></p></div><p class="src"><a id="v:calculateNEqualizer" class="def">calculateNEqualizer</a> :: <a href="../base-4.9.1.0/Data-List-NonEmpty.html#t:NonEmpty">NonEmpty</a> m -> m <a href="src/Abstract.Complete.html#calculateNEqualizer" class="link">Source</a> <a href="#v:calculateNEqualizer" class="selflink">#</a></p><div class="doc"><p>Given a non-empty list of morphisms of the form <code><em>f : A -> B</em></code> returns the equalizer
morphism <code><em>h : X -> A</em></code></p></div><p class="src"><a id="v:calculateProduct" class="def">calculateProduct</a> :: <a href="Abstract-Morphism.html#t:Obj">Obj</a> m -> <a href="Abstract-Morphism.html#t:Obj">Obj</a> m -> (m, m) <a href="src/Abstract.Complete.html#calculateProduct" class="link">Source</a> <a href="#v:calculateProduct" class="selflink">#</a></p><div class="doc"><p>Given two objects <code>A</code> and <code>B</code> it returns the product <code>(AxB, f: AxB -> A, g: AxB -> B)</code></p></div><p class="src"><a id="v:calculateNProduct" class="def">calculateNProduct</a> :: <a href="../base-4.9.1.0/Data-List-NonEmpty.html#t:NonEmpty">NonEmpty</a> (<a href="Abstract-Morphism.html#t:Obj">Obj</a> m) -> [m] <a href="src/Abstract.Complete.html#calculateNProduct" class="link">Source</a> <a href="#v:calculateNProduct" class="selflink">#</a></p><div class="doc"><p>Given a non-empty list of objects <code>Bi</code> it returns the product <code>fi : PROD(Bi) -> Bi</code></p></div><p class="src"><a id="v:finalObject" class="def">finalObject</a> :: m -> <a href="Abstract-Morphism.html#t:Obj">Obj</a> m <a href="src/Abstract.Complete.html#finalObject" class="link">Source</a> <a href="#v:finalObject" class="selflink">#</a></p><p class="src"><a id="v:calculatePullback" class="def">calculatePullback</a> :: m -> m -> (m, m) <a href="src/Abstract.Complete.html#calculatePullback" class="link">Source</a> <a href="#v:calculatePullback" class="selflink">#</a></p></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>