3 ms·
So is the if syntax shown at the bottom coming to K or is that only for illustration? If not, why not use $[c;t;f] then?
by tlack 10y ago
So is the if syntax shown at the bottom coming to K or is that only for illustration? If not, why not use $[c;t;f] then?
- RodgerTheGreat 10y agoA good question. Older versions of K had if and while as syntactic sugar. You could always do without them by using cond and adverbs. K5 did away with these syntactic forms, and for whatever reason Arthur decided to put them back in k6.