Anonymous user
Currying: Difference between revisions
→{{header|Lambdatalk}}
Line 1,025:
<lang scheme>
1) just define function a binary function:
-> power
2) and use it:
{power 2 8} // power is a function waiting for two numbers
-> 256
-> 256
-> 2 4 8 16 32 64 128 256 512 1024
</lang>
|