4 ms·
Magic of macros.
by adamnemecek 6y ago
Magic of macros.
- eigenspace 6y agoTo be fair, there are no macros in that example. Just good ol polymorphism and exceptionaly hackable semantics.
- adamnemecek 6y agoPycall does rely on macros and so do essentially all the other interop packages.
- eigenspace 6y agoSure, they all provide nice macro interfaces, but nothing in the above example required those macros as far as I understand. This is not to say macros aren't awesome.
- adamnemecek 6y agoI'm pretty sure that macros are involved in the invocation of the python function.