eval

From The K Language Wiki
Revision as of 06:15, 9 July 2022 by Promovicz (talk | contribs) ("Better category ordering, add redirects to categories, fix pseudo-adverb categories")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Eval
.x

eval, also known as value, evaluates a string as a K expression.

Eval may or may not evaluate its argument in the current scope based on the implementation.

 ."+/1 2 3 4"
10