3 ms·
> Haskell (ML) is prefix, Lisp is infix, and Forth is postfix. With respect, no. Lisp is by default prefix (Polish notation) but with some work you can make it
by dreamcompiler 5y ago
> Haskell (ML) is prefix, Lisp is infix, and Forth is postfix.
With respect, no. Lisp is by default prefix (Polish notation) but with some work you can make it behave as infix or postfix.
Haskell is naturally either prefix or infix depending on how you define and call your functions (the use of backticks or parens around the function name in a call changes it from prefix to infix and vice-versa. It's a rather elegant solution to the problem.)
As you stated Forth is postfix (Reverse Polish notation).