----- Original Message -----
From: Swee Guan
To: hugs-users@haskell.org
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
-- returns the middle one in terms of size
mid3 x y z = min2 x (max2 y z)
 
please send to swigs01@hotmail.com