Grammar: Difference between revisions
examples of nouns and verbs
mNo edit summary |
(examples of nouns and verbs) |
||
Line 38:
Note that a k expression could have the syntactic role of a <tt><noun></tt> in the source code and evaluate to a function at runtime, for instance <tt>{1+x}</tt> or <tt>(+)</tt>. A bare <tt>+</tt> would be a verb, but enclosing anything in parentheses marks it as a noun - this is called ''nominalization'' ("turning into a noun").
Examples of nouns:
0 1 2 "a" 3.14 ``a`bc {1+2*x} (+) -[;1]
Examples of verbs:
+ 0: -: */: ","\' 2*
|