Vocabulary/underco

From J Wiki
Jump to: navigation, search

>> <<   Back to: Vocabulary Thru to: Dictionary

[x] _: y Constant Function

Rank Infinity -- operates on [x and] y as a whole -- WHY IS THIS IMPORTANT?



The value: Infinity (_), whatever [x and] y happen to be.

The argument y can therefore be any noun. Ditto x, if present.

_: has sister-primitives 0:, 1:, 2:, 3:, ... 9: and _1:, _2:, _3:, ... _9:, returning the corresponding integers.

NOTE: there is no primitive: (__:). Use: (__"_) instead.


Related Primitives

Constant function (0:)