blob: f8fa63ffa9f7af0369d151c2c7a9c1c75aeefff1 (
plain) (
tree)
|
|
<html xmlns="http://www.w3.org/1999/xhtml"
><head
><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
/><meta name="viewport" content="width=device-width, initial-scale=1"
/><title
>Minimal</title
><link href="#" rel="stylesheet" type="text/css" title="Linuwial"
/><link rel="stylesheet" type="text/css" href="#"
/><link rel="stylesheet" type="text/css" href="#"
/><script src="haddock-bundle.min.js" async="async" type="text/javascript"
></script
><script type="text/x-mathjax-config"
>MathJax.Hub.Config({ tex2jax: { processClass: "mathjax", ignoreClass: ".*" } });</script
><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"
></script
></head
><body
><div id="package-header"
><span class="caption empty"
> </span
><ul class="links" id="page-menu"
><li
><a href="#"
>Contents</a
></li
><li
><a href="#"
>Index</a
></li
></ul
></div
><div id="content"
><div id="module-header"
><table class="info"
><tr
><th
>Safe Haskell</th
><td
>Safe-Inferred</td
></tr
><tr
><th
>Language</th
><td
>Haskell2010</td
></tr
></table
><p class="caption"
>Minimal</p
></div
><div id="description"
><p class="caption"
>Description</p
><div class="doc"
><p
>This tests the new MINIMAL pragma present in GHC 7.8</p
></div
></div
><div id="interface"
><h1
>Documentation</h1
><div class="top"
><p class="src"
><span class="keyword"
>class</span
> <a id="t:Foo" class="def"
>Foo</a
> a <span class="keyword"
>where</span
> <a href="#" class="selflink"
>#</a
></p
><div class="subs minimal"
><p class="caption"
>Minimal complete definition</p
><p class="src"
><a href="#" title="Minimal"
>foo</a
>, <a href="#" title="Minimal"
>bar</a
> | <a href="#" title="Minimal"
>bar</a
>, <a href="#" title="Minimal"
>bat</a
> | <a href="#" title="Minimal"
>foo</a
>, <a href="#" title="Minimal"
>bat</a
> | <a href="#" title="Minimal"
>fooBarBat</a
></p
></div
><div class="subs methods"
><p class="caption"
>Methods</p
><p class="src"
><a id="v:foo" class="def"
>foo</a
> :: a <a href="#" class="selflink"
>#</a
></p
><div class="doc"
><p
>Any two of these are required...</p
></div
><p class="src"
><a id="v:bar" class="def"
>bar</a
> :: a <a href="#" class="selflink"
>#</a
></p
><p class="src"
><a id="v:bat" class="def"
>bat</a
> :: a <a href="#" class="selflink"
>#</a
></p
><p class="src"
><a id="v:fooBarBat" class="def"
>fooBarBat</a
> :: (a, a, a) <a href="#" class="selflink"
>#</a
></p
><div class="doc"
><p
>.. or just this</p
></div
></div
></div
><div class="top"
><p class="src"
><span class="keyword"
>class</span
> <a id="t:Weird" class="def"
>Weird</a
> a <span class="keyword"
>where</span
> <a href="#" class="selflink"
>#</a
></p
><div class="subs minimal"
><p class="caption"
>Minimal complete definition</p
><p class="src"
>(<a href="#" title="Minimal"
>a</a
>, <a href="#" title="Minimal"
>b</a
>, <a href="#" title="Minimal"
>c</a
> | (<a href="#" title="Minimal"
>d</a
> | <a href="#" title="Minimal"
>e</a
>, (<a href="#" title="Minimal"
>f</a
> | <a href="#" title="Minimal"
>g</a
>)))</p
></div
><div class="subs methods"
><p class="caption"
>Methods</p
><p class="src"
><a id="v:a" class="def"
>a</a
> :: a <a href="#" class="selflink"
>#</a
></p
><p class="src"
><a id="v:b" class="def"
>b</a
> :: a <a href="#" class="selflink"
>#</a
></p
><p class="src"
><a id="v:c" class="def"
>c</a
> :: a <a href="#" class="selflink"
>#</a
></p
><p class="src"
><a id="v:d" class="def"
>d</a
> :: a <a href="#" class="selflink"
>#</a
></p
><p class="src"
><a id="v:e" class="def"
>e</a
> :: a <a href="#" class="selflink"
>#</a
></p
><p class="src"
><a id="v:f" class="def"
>f</a
> :: a <a href="#" class="selflink"
>#</a
></p
><p class="src"
><a id="v:g" class="def"
>g</a
> :: a <a href="#" class="selflink"
>#</a
></p
></div
></div
><div class="top"
><p class="src"
><span class="keyword"
>class</span
> <a id="t:NoMins" class="def"
>NoMins</a
> a <span class="keyword"
>where</span
> <a href="#" class="selflink"
>#</a
></p
><div class="subs minimal"
><p class="caption"
>Minimal complete definition</p
><p class="src"
><a href="#" title="Minimal"
>x</a
>, <a href="#" title="Minimal"
>y</a
></p
></div
><div class="subs methods"
><p class="caption"
>Methods</p
><p class="src"
><a id="v:x" class="def"
>x</a
> :: a <a href="#" class="selflink"
>#</a
></p
><p class="src"
><a id="v:y" class="def"
>y</a
> :: a <a href="#" class="selflink"
>#</a
></p
><p class="src"
><a id="v:z" class="def"
>z</a
> :: a <a href="#" class="selflink"
>#</a
></p
></div
></div
><div class="top"
><p class="src"
><span class="keyword"
>class</span
> <a id="t:FullMin" class="def"
>FullMin</a
> a <span class="keyword"
>where</span
> <a href="#" class="selflink"
>#</a
></p
><div class="subs methods"
><p class="caption"
>Methods</p
><p class="src"
><a id="v:aaa" class="def"
>aaa</a
> :: a <a href="#" class="selflink"
>#</a
></p
><p class="src"
><a id="v:bbb" class="def"
>bbb</a
> :: a <a href="#" class="selflink"
>#</a
></p
></div
></div
><div class="top"
><p class="src"
><span class="keyword"
>class</span
> <a id="t:PartialMin" class="def"
>PartialMin</a
> a <span class="keyword"
>where</span
> <a href="#" class="selflink"
>#</a
></p
><div class="subs minimal"
><p class="caption"
>Minimal complete definition</p
><p class="src"
><a href="#" title="Minimal"
>ccc</a
>, ddd</p
></div
><div class="subs methods"
><p class="caption"
>Methods</p
><p class="src"
><a id="v:ccc" class="def"
>ccc</a
> :: a <a href="#" class="selflink"
>#</a
></p
></div
></div
><div class="top"
><p class="src"
><span class="keyword"
>class</span
> <a id="t:EmptyMin" class="def"
>EmptyMin</a
> a <span class="keyword"
>where</span
> <a href="#" class="selflink"
>#</a
></p
><div class="subs minimal"
><p class="caption"
>Minimal complete definition</p
><p class="src"
>Nothing</p
></div
><div class="subs methods"
><p class="caption"
>Methods</p
><p class="src"
><a id="v:eee" class="def"
>eee</a
> :: a <a href="#" class="selflink"
>#</a
></p
><p class="src"
><a id="v:fff" class="def"
>fff</a
> :: a <a href="#" class="selflink"
>#</a
></p
></div
></div
></div
></div
></body
></html
>
|