Question: yb1)Could you please solve this problem? The programming language that is wanted in solution is ML (ML is Meta Language). Meta Language: https://en.wikipedia.org/wiki/ML_(programming_language) Edit: More

yb1)Could you please solve this problem? The programming language that is wanted in solution is ML (ML is Meta Language). Meta Language: https://en.wikipedia.org/wiki/ML_(programming_language)

yb1)Could you please solve this problem? The programming language that is wanted

Edit: More clear to read image given below

in solution is ML (ML is Meta Language). Meta Language: https://en.wikipedia.org/wiki/ML_(programming_language) Edit:

sincerely..

Wiite the following MiL functions a) Write a function that takes two lists as parameter and deletes from the front of the first list as many elements as there are in the second Ist. If the first list is shorter than the second ist, return nil. Sample Rur: delsI2,5,1,8), [4,3]); re are 2 etaments in the second tst, so delkte 2 elements val it [1,81 : int list dels([2,S], [4,5,3]); st i shorter so retum n al it- [ int list b) Assuming that an int list contains the digits of an integer, write a function which takes this list as a parameter as well as an integer which is a multiple of 10. The function should return a list which contains the digits of their product. Sample Run: it- ts,3,2,e,e,e1 int list Note: Write only one function for each part, and do not call any other functions To edit and execute your ML program, do the following: Download the Newiersey standard ML compiler from the following addresses: - Type your program in any word processing software iNotepad, WordPad, Word, etc) and save it as a text file. Copy the written functiona, and paste it onto the ML compler screen using the menu tEdit-Paste) which appears when you right clck on top of the screen. Test your functions using the compler, and co o ns orogram You cenesit with CurlZ Wiite the following MiL functions a) Write a function that takes two lists as parameter and deletes from the front of the first list as many elements as there are in the second Ist. If the first list is shorter than the second ist, return nil. Sample Rur: delsI2,5,1,8), [4,3]); re are 2 etaments in the second tst, so delkte 2 elements val it [1,81 : int list dels([2,S], [4,5,3]); st i shorter so retum n al it- [ int list b) Assuming that an int list contains the digits of an integer, write a function which takes this list as a parameter as well as an integer which is a multiple of 10. The function should return a list which contains the digits of their product. Sample Run: it- ts,3,2,e,e,e1 int list Note: Write only one function for each part, and do not call any other functions To edit and execute your ML program, do the following: Download the Newiersey standard ML compiler from the following addresses: - Type your program in any word processing software iNotepad, WordPad, Word, etc) and save it as a text file. Copy the written functiona, and paste it onto the ML compler screen using the menu tEdit-Paste) which appears when you right clck on top of the screen. Test your functions using the compler, and co o ns orogram You cenesit with CurlZ

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!