Apply a callback to an array: Difference between revisions
Content added Content deleted
imported>Acediast (→{{header|COBOL}}: replaced nominal fn ref w/ pointer) |
|||
Line 1,539: | Line 1,539: | ||
'''Solution''' |
'''Solution''' |
||
Most programming languages define a high-order map function. In Fōrmulæ, there is ''arraization'' (by analogy with ''summation''). In the following expression, the "big" curly braces |
Most programming languages define a high-order map function. In Fōrmulæ, there is ''arraization'' (by analogy with ''summation''). In the following expression, the "big" curly braces resembles the "big" sigma of a summation: |
||
[[File:Fōrmulæ - Apply a callback to an array 01.png]] |
[[File:Fōrmulæ - Apply a callback to an array 01.png]] |