The reason `1.pi(2)` works because pi is an extens...
# getting-started
d
The reason
1.pi(2)
works because pi is an extension function, and you can define those with lambda syntax (as demonstrated). However I can’t seem to find a way of defining an anonymous infix extension function, the parser doesn’t seem to be able to handle the
infix
keyword in a couple of places that would make it work.