Re:Pixie: A sweet Clojure-ish language
by virtualwhys on Monday March 09, 2015 @08:48AM
(#9170568)
Scala example is wrong, wouldn't even compile; should be:
The original would need an equals thrown in there, otherwise it's procedural syntax (IIRC, has been deprecated or will be in the next release) which has a return type of Unit, thus not compiling when specifying a return type of Int.
[ Parent
| on HN ]