Open klequis opened 2 years ago
An anonymous function is a function that is not bound to an identifier and is instead passed as an argument to another function and/or used to construct another function. See the following examples:
\x -> x -- anonymous version of id
id x = x -- not anonymous, it's bound to 'id'
Needs detail on syntax, specifically \ & ->.
\
->
An anonymous function is a function that is not bound to an identifier and is instead passed as an argument to another function and/or used to construct another function. See the following examples: