Projection: Difference between revisions
Content added Content deleted
(Created page with "A '''projection''' is a partially applied function. A projection is created by applying a function to fewer arguments than it requires. f:{x+y*z} f[1;2;3] 7 g:f[;2] /p...") |
("Added a general language category") |
||
Line 8: | Line 8: | ||
g[1;3] /provide x and z |
g[1;3] /provide x and z |
||
7 |
7 |
||
[[Category:Language]] |
Latest revision as of 08:00, 9 July 2022
A projection is a partially applied function.
A projection is created by applying a function to fewer arguments than it requires.
f:{x+y*z} f[1;2;3] 7 g:f[;2] /projection (x omitted, y set to 2, z omitted) g[1;3] /provide x and z 7