Jump to content

Grammar: Difference between revisions

126 bytes added ,  2 years ago
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>&lt;noun&gt;</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*
Cookies help us deliver our services. By using our services, you agree to our use of cookies.