Re:Lisp is not functional (2010)
by Grue3 on Wednesday February 08, 2017 @04:33PM
(#13602350)
>Returning a value from an (if ...) already makes it more functional than a lot of languages
Like which? Pretty much every language has a ternary operator. Lisp's IF is not a function, by the way. A truly functional IF would have to wrap THEN and ELSE clause in lambdas so that all arguments can be evaluated before deciding which one of them to execute.
Like which? Pretty much every language has a ternary operator. Lisp's IF is not a function, by the way. A truly functional IF would have to wrap THEN and ELSE clause in lambdas so that all arguments can be evaluated before deciding which one of them to execute.