Please enable JavaScript.
Coggle requires JavaScript to display documents.
functional programming (languages (scala (function (func(x: Int, y: =>…
functional programming
-
-
-
-
languages
scala
-
-
-
-
tail recursion
-
optimize
-
-
use synax like
func (a, accumulator) = if (z) q else func(c, accumulated)
lisp,scheme,racket,clojure
-
call-by-value
arguments evaluated
f(x, y + z) => f1(x) op f2(w) : w= y + z
call-by-name
f(x, y+z) => f1(x) op f2(y + z)