blob: 283083be7620915a8971ec9b467429a55e455d2f (
plain) (
tree)
|
|
<!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
>TypeOperators</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_TypeOperators.html");};
//]]>
</script
></head
><body
><div id="package-header"
><ul class="links" id="page-menu"
><li
><a href=""
>Contents</a
></li
><li
><a href=""
>Index</a
></li
></ul
><p class="caption empty"
> </p
></div
><div id="content"
><div id="module-header"
><table class="info"
><tr
><th
>Safe Haskell</th
><td
>Safe</td
></tr
></table
><p class="caption"
>TypeOperators</p
></div
><div id="interface"
><h1
>Documentation</h1
><div class="top"
><p class="src"
><span class="keyword"
>data</span
> a <a href="" id="t::-45-:" class="def"
>:-:</a
> b</p
></div
><div class="top"
><p class="src"
><span class="keyword"
>data</span
> (a <a href="" id="t::-43-:" class="def"
>:+:</a
> b) c</p
></div
><div class="top"
><p class="src"
><span class="keyword"
>data</span
> <a href="" id="t:Op" class="def"
>Op</a
> a b</p
></div
><div class="top"
><p class="src"
><span class="keyword"
>newtype</span
> <a href="" id="t:O" class="def"
>O</a
> g f a</p
><div class="subs constructors"
><p class="caption"
>Constructors</p
><table
><tr
><td class="src"
><a href="" id="v:O" class="def"
>O</a
></td
><td class="doc empty"
> </td
></tr
><tr
><td colspan="2"
><div class="subs fields"
><p class="caption"
>Fields</p
><ul
><li
><dfn class="src"
><a href="" id="v:unO" class="def"
>unO</a
> :: g (f a)</dfn
><div class="doc empty"
> </div
></li
></ul
></div
></td
></tr
></table
></div
></div
><div class="top"
><p class="src"
><span class="keyword"
>class</span
> a <a href="" id="t:-60--61--62-" class="def"
><=></a
> b</p
></div
><div class="top"
><p class="src"
><a href="" id="v:biO" class="def"
>biO</a
> :: (g <a href=""
>`O`</a
> f) a</p
></div
><div class="top"
><p class="src"
><a href="" id="v:f" class="def"
>f</a
> :: (a ~ b) => a -> b</p
></div
><div class="top"
><p class="src"
><a href="" id="v:g" class="def"
>g</a
> :: (a ~ b, b ~ c) => a -> c</p
></div
><div class="top"
><p class="src"
><a href="" id="v:x" class="def"
>x</a
> :: (a <a href=""
>:-:</a
> a) <a href=""
><=></a
> (a <a href=""
>`Op`</a
> a) => a</p
></div
><div class="top"
><p class="src"
><a href="" id="v:y" class="def"
>y</a
> :: (a <a href=""
><=></a
> a, (a <a href=""
>`Op`</a
> a) <a href=""
><=></a
> a) => a</p
></div
></div
></div
><div id="footer"
><p
>Produced by <a href=""
>Haddock</a
> version 2.16.2</p
></div
></body
></html
>
|