Skip to content

Instantly share code, notes, and snippets.

View js-choi's full-sized avatar
💭
I may be slow to respond.

J. S. Choi js-choi

💭
I may be slow to respond.
View GitHub Profile
@js-choi
js-choi / extensions-and-bind-operator.md
Last active October 6, 2021 04:57 — forked from hax/README.md
The extensions system and the bind operator

The extensions system and the bind-this operator

There are two proposals that do similar things.

  • A [proposal for an Extensions system][Extensions system]: ::{ extFn } = obj, obj::extFn, and obj::extNamespace:extFn.
  • A [proposal for a bind-this operator][bind-this]: obj->fn and obj->(fn).