<!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 >Minimal</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_Minimal.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" >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 href="" id="t:Foo" class="def" >Foo</a > a <span class="keyword" >where</span ></p ><div class="subs minimal" ><p class="caption" >Minimal complete definition</p ><p class="src" ><a href="" >foo</a >, <a href="" >bar</a > | <a href="" >bar</a >, <a href="" >bat</a > | <a href="" >foo</a >, <a href="" >bat</a > | <a href="" >fooBarBat</a ></p ></div ><div class="subs methods" ><p class="caption" >Methods</p ><p class="src" ><a href="" id="v:foo" class="def" >foo</a > :: a</p ><div class="doc" ><p >Any two of these are required...</p ></div ><p class="src" ><a href="" id="v:bar" class="def" >bar</a > :: a</p ><p class="src" ><a href="" id="v:bat" class="def" >bat</a > :: a</p ><p class="src" ><a href="" id="v:fooBarBat" class="def" >fooBarBat</a > :: (a, a, 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 href="" id="t:Weird" class="def" >Weird</a > a <span class="keyword" >where</span ></p ><div class="subs minimal" ><p class="caption" >Minimal complete definition</p ><p class="src" ><a href="" >a</a >, <a href="" >b</a >, <a href="" >c</a > | <a href="" >d</a > | <a href="" >e</a >, (<a href="" >f</a > | <a href="" >g</a >)</p ></div ><div class="subs methods" ><p class="caption" >Methods</p ><p class="src" ><a href="" id="v:a" class="def" >a</a > :: a</p ><p class="src" ><a href="" id="v:b" class="def" >b</a > :: a</p ><p class="src" ><a href="" id="v:c" class="def" >c</a > :: a</p ><p class="src" ><a href="" id="v:d" class="def" >d</a > :: a</p ><p class="src" ><a href="" id="v:e" class="def" >e</a > :: a</p ><p class="src" ><a href="" id="v:f" class="def" >f</a > :: a</p ><p class="src" ><a href="" id="v:g" class="def" >g</a > :: a</p ></div ></div ><div class="top" ><p class="src" ><span class="keyword" >class</span > <a href="" id="t:NoMins" class="def" >NoMins</a > a <span class="keyword" >where</span ></p ><div class="subs minimal" ><p class="caption" >Minimal complete definition</p ><p class="src" ><a href="" >x</a >, <a href="" >y</a ></p ></div ><div class="subs methods" ><p class="caption" >Methods</p ><p class="src" ><a href="" id="v:x" class="def" >x</a > :: a</p ><p class="src" ><a href="" id="v:y" class="def" >y</a > :: a</p ><p class="src" ><a href="" id="v:z" class="def" >z</a > :: a</p ></div ></div ><div class="top" ><p class="src" ><span class="keyword" >class</span > <a href="" id="t:FullMin" class="def" >FullMin</a > a <span class="keyword" >where</span ></p ><div class="subs methods" ><p class="caption" >Methods</p ><p class="src" ><a href="" id="v:aaa" class="def" >aaa</a > :: a</p ><p class="src" ><a href="" id="v:bbb" class="def" >bbb</a > :: a</p ></div ></div ><div class="top" ><p class="src" ><span class="keyword" >class</span > <a href="" id="t:PartialMin" class="def" >PartialMin</a > a <span class="keyword" >where</span ></p ><div class="subs minimal" ><p class="caption" >Minimal complete definition</p ><p class="src" ><a href="" >ccc</a >, ddd</p ></div ><div class="subs methods" ><p class="caption" >Methods</p ><p class="src" ><a href="" id="v:ccc" class="def" >ccc</a > :: a</p ></div ></div ><div class="top" ><p class="src" ><span class="keyword" >class</span > <a href="" id="t:EmptyMin" class="def" >EmptyMin</a > a <span class="keyword" >where</span ></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 href="" id="v:eee" class="def" >eee</a > :: a</p ><p class="src" ><a href="" id="v:fff" class="def" >fff</a > :: a</p ></div ></div ></div ></div ><div id="footer" ><p >Produced by <a href="" >Haddock</a > version 2.16.2</p ></div ></body ></html >