Joy (programming language): Difference between revisions

Content deleted Content added
m Robot-assisted disambiguation (you can help!): C programming language
m Robot-assisted disambiguation (you can help!): Scheme programming language
Line 11:
|implementations = Joy0, Joy1, "Current Joy", "John Cowan's Joy"
|dialects =
|influenced_by = [[Forth (programming language)|Forth]], [[Scheme (programming language)|Scheme]], [[C (programming language)|C]]
|influenced =
}}
Line 23:
}
 
The variable x is a formal parameter which is replaced by the actual value to be squared when the function is called. Now here's how the same function would be defined in a [[functional programming|functional]] language ([[Scheme (programming language)|scheme]]):
 
(define square