Factors of an integer: Difference between revisions
m
→Excel : LAMBDA: (Lifted a few keywords into a different color plane by applying the syntax highlighting for LISP)
(→{{header|Excel LAMBDA}}: Added a draft using the LAMBDA() function which is defined in recent Excel beta builds.) |
m (→Excel : LAMBDA: (Lifted a few keywords into a different color plane by applying the syntax highlighting for LISP)) |
||
Line 2,152:
(See: [https://www.microsoft.com/en-us/research/blog/lambda-the-ultimatae-excel-worksheet-function/ The LAMBDA worksheet function in Excel])
<lang lisp>FACTORS
=LAMBDA(n,
IF(1 < n,
Line 2,179:
and assuming that in the same worksheet, each of the following names is bound to the reusable generic lambda expression which follows it:
<lang lisp>APPEND
=LAMBDA(xs,
LAMBDA(ys,
Line 2,431:
|
|}
=={{header|F Sharp|F#}}==
|