Joy (programming language): Difference between revisions

Content deleted Content added
Remove unneeded examples in other languages and unsourced content
Shorten the "How it works section"
Line 21:
== How it works ==
 
Functions in Joy lack [[Parameter (computer science)|formal parameters]]. For example, a function that squares a numeric input can be expressed as follows:
Joy is unusual among functional programming languages (except for [[function-level programming]] languages and some esoteric ones, such as [[Unlambda]]) in its lack of a [[lambda calculus|lambda]] operator, and therefore lack of [[Parameter (computer science)|formal parameters]].
 
For example, a function that squares a numeric input can be expressed as follows:
 
DEFINE square == dup * .