<!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 >Bug7</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_Bug7.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-Inferred</td ></tr ></table ><p class="caption" >Bug7</p ></div ><div id="description" ><p class="caption" >Description</p ><div class="doc" ><p >This module caused a duplicate instance in the documentation for the Foo 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" >data</span > <a href="" >Foo</a > = <a href="" >Foo</a ></li ><li class="src short" ><span class="keyword" >class</span > <a href="" >Bar</a > x y</li ></ul ></div ><div id="interface" ><h1 >Documentation</h1 ><div class="top" ><p class="src" ><span class="keyword" >data</span > <a name="t:Foo" class="def" >Foo</a ></p ><div class="doc" ><p >The Foo datatype</p ></div ><div class="subs constructors" ><p class="caption" >Constructors</p ><table ><tr ><td class="src" ><a name="v:Foo" class="def" >Foo</a ></td ><td class="doc empty" > </td ></tr ></table ></div ><div class="subs instances" ><p id="control.i:Foo" class="caption collapser" onclick="toggleSection('i:Foo')" >Instances</p ><div id="section.i:Foo" class="show" ><table ><tr ><td class="src" ><a href="" >Bar</a > <a href="" >Foo</a > <a href="" >Foo</a ></td ><td class="doc" ><p >Just one instance</p ></td ></tr ></table ></div ></div ></div ><div class="top" ><p class="src" ><span class="keyword" >class</span > <a name="t:Bar" class="def" >Bar</a > x y</p ><div class="doc" ><p >The Bar class</p ></div ><div class="subs instances" ><p id="control.i:Bar" class="caption collapser" onclick="toggleSection('i:Bar')" >Instances</p ><div id="section.i:Bar" class="show" ><table ><tr ><td class="src" ><a href="" >Bar</a > <a href="" >Foo</a > <a href="" >Foo</a ></td ><td class="doc" ><p >Just one instance</p ></td ></tr ></table ></div ></div ></div ></div ></div ><div id="footer" ><p >Produced by <a href="" >Haddock</a > version 2.15.0</p ></div ></body ></html >