Professional Documents
Culture Documents
Functions Functional Programming Notes
Functions Functional Programming Notes
Functions are the most important building blocks in the whole course.
ML automatically understands what type the function returns.
The body of the function is not evaluated when a function definition is encountered.
Note: In SML, there isnt a way to have functions that take variable number of
arguments.