Are functions in Shen uniadic or variadic? Is (+ 1 2 3)
in Shen shorthand for (+ 1 (+ 2 3))
? I am curious about currying in Shen, and how it works together with S-expressions.
edit
After I have played around with the REPL, I believe functions are uniadic. I am impressed by the pattern matching, but can not understand how to write a function that behaves as +
if I call it with more than two operands.
Functions arent variadic, but some macros are.
See defmacro for creating new ones:
http://www.shenlanguage.org/learn-shen/macros.html