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 explicit alias, however, adds quite a bit of boilerplate when you're binding 100+ functions. The shorthand would allow us to combine defbind and the alias in one line:
This is an idea discussed with @andrewchambers in the chat.
TL;DR is to allow something like:
This would be a Janet
init
function that binds the CfooInit()
.Longer story is to consider something like:
Now
foo/fooInit
is not very idiomatic, so we can define an alias for that function:Now a user can simply write:
The explicit alias, however, adds quite a bit of boilerplate when you're binding 100+ functions. The shorthand would allow us to combine
defbind
and the alias in one line:The text was updated successfully, but these errors were encountered: