Search within Other Languages
Register / Login
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Standard ML learning help :)
posted 2 weeks ago
Number of slices to send:
Optional 'thank-you' note:
I'm currently trying to get a grip on Standard ML and are trying to understand what the following function does?
fun testfunction (a, nill) = false
| testfunction (a, b::bs) = a=b orelse testfunction (a,bs);
As I think it's taking two arguments, an element and a list with concatenated first element. if this fails it returns false otherwise checks if a are an element of the list?
Would you turn that thing down? I'm controlling a mind here! Look ... look at the tiny ad ...
SKIP - a book about connecting industrious people with elderly land owners
Boost this thread!
Functional Programming in Java: imperative to functional programming transition
Is Nillable same as an empty element
Beginner to Java
Coursera course overload!