Quick. Someone give me the relevant code in their language of choice to print out the number from 1 to 10, inclusive.
For example, in Perl:
print for (1..10);
Now, in Functional Programming (FP) there is no such thing as a variable or a constant. [b]Everything[/b] is a function.
Here's how you print 1 through 10 in FP:
? print1to is (if = o [ id , {1} ] cons o [ {1} , {<>} ] rotl o cons o [ id , print1to o - o [ id , {1} ] ]).
Function print1to defined.
? print1to:10.
-> <1 2 3 4 5 6 7 8 9 10>
Stupid Languages & Concepts class.