News for hackers. Stuff that matters.
Re:KlongPy: High-Performance Array Programming in Python by abrudz on Monday December 02, 2024 @02:05PM (#42299265)
Think "normal" call syntax like

  foo(bar(baz(42)))
and then remove the superfluous parens

  foo bar baz 42
The expression is evaluated from right to left.

Now, let's make two of the functions into object members:

  A.foo(bar(B.baz(42)))
Remove the parens, extracting the methods from their objects, instead feeding each object as a left argument to its former member function:

  A foo bar B baz 42
This is normal APL-style call syntax; right-to-left if you want.
Re:KlongPy: High-Performance Array Programming in Python by amarcheschi on Thursday December 05, 2024 @04:37PM (#42333058)
Oh now I see it, it sorts of reminds me of lambda calculus