Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Haskell Help !!

Status
Not open for further replies.

akool2001

Technical User
Mar 15, 2003
1
IN
hi all ,
I try to write a function sort3 that has type
sort3 :: Int -> Int -> Int -> (Int, Int, Int)
which sort 3 numbers in order such dat the smallest number is first and the greatest last. Is there any ways dat we can use lesss than 3 comparisons ??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top