Fw: Hugs question
Swee Guan
Swigs@iprimus.com.au
Tue, 20 Mar 2001 17:16:42 +0800
This is a multi-part message in MIME format.
------=_NextPart_000_0009_01C0B161.889E6580
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
----- Original Message -----=20
From: Swee Guan=20
To: hugs-users@haskell.org=20
Sent: Tuesday, March 20, 2001 5:13 PM
Subject: Hugs question
I was suppose to find a function mid3 that takes three integers and =
returns the middle one in terms of size but i cant seem to get it.
maybe you can help
mid3 :: Int -> Int -> Int -> Int
-- mid3 takes three integers and=20
-- returns the middle one in terms of size
mid3 x y z =3D min2 x (max2 y z)
please send to swigs01@hotmail.com
------=_NextPart_000_0009_01C0B161.889E6580
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 http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV style=3D"FONT: 10pt arial">----- Original Message -----=20
<DIV style=3D"BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> <A=20
title=3DSwigs@iprimus.com.au href=3D"mailto:Swigs@iprimus.com.au">Swee =
Guan</A>=20
</DIV>
<DIV><B>To:</B> <A title=3Dhugs-users@haskell.org=20
href=3D"mailto:hugs-users@haskell.org">hugs-users@haskell.org</A> </DIV>
<DIV><B>Sent:</B> Tuesday, March 20, 2001 5:13 PM</DIV>
<DIV><B>Subject:</B> Hugs question</DIV></DIV>
<DIV><BR></DIV>
<DIV><FONT face=3DArial size=3D2>I was suppose to find a function mid3 =
that takes=20
three integers and returns the middle one in terms of size but i cant =
seem to=20
get it.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>maybe you can help</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>mid3 :: Int -> Int -> Int -> =
Int<BR>--=20
mid3 takes three integers and <BR>-- returns the middle one in terms of=20
size<BR>mid3 x y z =3D min2 x (max2 y z)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>please send to <A=20
href=3D"mailto:swigs01@hotmail.com">swigs01@hotmail.com</A></FONT></DIV><=
/BODY></HTML>
------=_NextPart_000_0009_01C0B161.889E6580--