Question: in haskell 2. sort3Tup Task Sort the elements of a 3-tuple. sort3rup::orda(a,a,a)input3-tuple(a,a,a)sorted3-tuple If you're thinking it's silly to write a function to specifically sort 3-tuples,

in haskell  in haskell 2. sort3Tup Task Sort the elements of a 3-tuple.

2. sort3Tup Task Sort the elements of a 3-tuple. sort3rup::orda(a,a,a)input3-tuple(a,a,a)sorted3-tuple If you're thinking it's silly to write a function to specifically sort 3-tuples, youre righte Wor't it be nice when we can sort collections of ablitary siice? Exampless - sort3rup(2,1,3)=(1,2,3) - sort3rup (3,2,1)=(1,2,3)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!