Question: In ML Exercise 4 Write a function min3 of type int * int * int -> int that returns the smallest of three integers. Exercise
In ML

Exercise 4 Write a function min3 of type int * int * int -> int that returns the smallest of three integers. Exercise 5 Write a function reds of type 'a * 'b.' -> 'a * c that converts a tuple with three elements into one with two by eliminating the second element Exercise 6 Write a function thirds of type string -> char that returns the third character of a string. Your function need not behave well on strings with lengths less than 3. Exercise 7 Write a function eyelel of type 'a list -> 'a list whose output list is the same as the input list, but with the first element of the list moved to the end. For example, cyclei (1,2,3,4) should return (2,3,4,1)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
