is identity the only polymorphic function without typeclasses?

Cagdas Ozgenc co19@cornell.edu
Sun, 2 Mar 2003 10:18:13 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0013_01C2E0A5.089EB680
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Greetings,

Is identity function the only meaningful function one can write without =
constraining the type variable using a typeclass? If not, could you =
please give a counter-example?

Thanks


------=_NextPart_000_0013_01C2E0A5.089EB680
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3504.2500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Greetings,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Is identity function the only =
meaningful function=20
one can write without constraining the type variable using a typeclass? =
If not,=20
could you please give a counter-example?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0013_01C2E0A5.089EB680--