Question: Programming Languages please help me get the correct answers for these questions and follow the instructions please 2. (40 pts.) Write ML functions as described


2. (40 pts.) Write ML functions as described below. For each, (i) paste/type your solution in text in this doc, and (ii) take screenshots of your running code with 2 different inputs and outputs and paste it in this Word doc. Make sure your source code, a comment with your Full Name in the source, and the output are all in the same image. Example screenshot for problem (a) : a. A function increasingNumbers x of type int list > Bool that returns true only if list x contains a list of integer numbers that are ordered in increasing fashion from left to right. For example, [1,5,30,40] results in True, but [2,1,5,10] results in False. Empty lists return True. b. A function anyTrue : bool list bool that given a list of booleans returns true if there is at least one of them that is true, otherwise returns false. (If the list is empty it should return false because there is no true.) Example screenshot for problem (a)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
