Function types
Types of functions in ML are always written as input -> output
Only one argument (and type) as input
Only one argument (and type) as output
To “pass multiple arguments”
Use tuples
Or use currying
Previous slide
Next slide
Back to first slide
View graphic version