RosettaCodeData/Task/Introspection/Factor/introspection-3.factor

8 lines
185 B
Factor
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
USING: assocs formatting kernel math namespaces ;
0 0
global [
nip dup integer? [ + [ 1 + ] dip ] [ drop ] if
] assoc-each
"There are %d integer variables, the sum is %d\n" printf