Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
The syntax
foo::[Int]->Int
would be interpreted as...
A function called foo that takes a single integer as a parameter and returns an integer as a result
foo is a binding of the name Int to a value of type Int
None of these answers is correct.
a function called foo that takes a parameter called Int and returns an integer as a result
A function called foo that takes a list of integers as a parameter and returns an integer as a result
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!