Question: The language is Ocaml. Implement the following functions that do not require recursion. Accordingly, these functions are defined without the rec keyword, but you MAY
The language is Ocaml.
Implement the following functions that do not require recursion. Accordingly, these functions are defined
without the rec keyword, but you MAY add the rec keyword to any of the following functions or write a
recursive helper function. Just remember that if you write a helper function, it must be defined in the file
before it is called.
revtup tup:a b
Type: a b c c b a
Description: Returns a tuple in the reverse order of tup
Examples:
README
revtup aa
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
