subject

(* problem 11 [5 points] use map to write a function thattakes an int list and an int and multiplies everyentry in the list by the int. you may define auxiliary functions that arecalled by the times_x function. if you defineauxiliary functions, do not use the samename with any pre-declared function inthis homework. *)(* auxiliary functions (if defined) start here *)(* auxiliary functions (if defined) end here *)let times_x (x: int) (lst: int list) : int list =(* your code start here *)[-1](* your code end here *); ; (* test case: all results should be true *)(times_x 5 [1; 2; 3]) = [5; 10; 15]; ; (times_x 5 []) = []; ; (times_x 2 [1; 2; 3]) = [2; 4; 6]; ; in ocaml

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 18:00
Ihave buncha points. does anyone want any?
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. which step can possibly increase the severity of an incident? a. separating sensitive data from non-sensitive data b. immediately spreading the news about the incident response plan c. installing new hard disks d. increasing access controls
Answers: 2
question
Computers and Technology, 23.06.2019 20:30
If chris has a car liability insurance, what damage would he be covered for
Answers: 1
question
Computers and Technology, 23.06.2019 20:40
On nba 2k 19, every time i try to join a my park game, it leads ro a website telling my dad that he needs ps plus. i already have ps plus though. how do i fix this?
Answers: 2
You know the right answer?
(* problem 11 [5 points] use map to write a function thattakes an int list and an int and multiplies...
Questions
question
Mathematics, 08.04.2021 21:30
question
Mathematics, 08.04.2021 21:30
question
Health, 08.04.2021 21:30
question
Mathematics, 08.04.2021 21:30
Questions on the website: 13722361