A really helpful edit would be the V1 and V2 macro expansions; then it's fairly straightforward C with an odd naming scheme.
Also known as unary and binary, TIL. They're arity, not FP monads.
Fwiw APL's use of monad in this sense predates the FP use of the term by several decades.