<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>Floating instance and pi</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Hi,<BR>
<BR>
I'd like to make my ADT an instance of the Floating class,<BR>
but I'm not sure what to put for pi, and GHC gives a warning<BR>
without it:<BR>
<BR>
Warning: No explicit method nor default method for `GHC.Float.pi'<BR>
<BR>
I tried setting it to undefined, but that gives an error:<BR>
<BR>
`pi' is not a (visible) method of class `Floating'<BR>
<BR>
Any idea?<BR>
<BR>
Paul</FONT>
</P>

</BODY>
</HTML>