You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(the _$2 means "the version of the abc function, with arity 2). Those 2 parameters would be forwarded to the underlying function, with the 3rd param receiving its default value of "hello".
This means that the logic for invocation also needs to be aware of these "pesudo-functions"
The text was updated successfully, but these errors were encountered:
Related to #23, this is the ability for functions to have default parameter values
Implementation notes:
Let's say we have this function:
Behind the scenes, the following code will be generated:
(the
_$2
means "the version of theabc
function, with arity 2). Those 2 parameters would be forwarded to the underlying function, with the 3rd param receiving its default value of"hello"
.This means that the logic for invocation also needs to be aware of these "pesudo-functions"
The text was updated successfully, but these errors were encountered: