subject

Write a function max of type int list -> intthat returns the largest element of a list of integers. yourfunction need not behave well if the list isempty. hint: write a function that takes asecond parameter the largest element seen so far. then you cancomplete the exercise by defining
fun max x= (t1 x, hd x)

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:30
Once the data center routes to the destination server that hosts the website, what's the next step in the internet process? user’s browser renders html code from destination server into web page request goes through router/model and isp request routed to nameserver and datacenter
Answers: 2
question
Computers and Technology, 23.06.2019 13:00
In excel - calculate the actual increase/decrease from first quarter to the second quarter then subtract subtract first quarter value from second quarter total then divide result by first quarter value
Answers: 1
question
Computers and Technology, 23.06.2019 19:00
Whose task it is to ensure that the product flows logically from one step to another?
Answers: 3
question
Computers and Technology, 24.06.2019 13:30
Which of the following is not a “fatal four” event?
Answers: 2
You know the right answer?
Write a function max of type int list -> intthat returns the largest element of a list of intege...
Questions
question
History, 10.12.2021 17:00
question
Biology, 10.12.2021 17:00
question
History, 10.12.2021 17:10
question
Biology, 10.12.2021 17:10