- This article is a stub, which means that it is not detailed enough and needs to be expanded. Please help us by .
Prefix notation, or Polish notation, is one of the four operator notations. It is sometimes combined with surround (when it needs a variable amount of arguments). It is one of the three powerful notations (Prefix, Postfix notation, Surround notation).
(* (+ 2 2) 4)
Without varargs (pseudo-language):
* + 2 2 4
In this pseudo-language varargs could be supported if parameters use lists for their parameters:
which is closer to M-expressions than to the traditional S-expr Lisp structure.