cancel
Showing results for 
Search instead for 
Did you mean: 

Adverb Composition: Is this a bug?

erik_friis
New Contributor
I don't see this as the proper behavior of an adverb composition, but I suppose I can be persuaded otherwise 😉

q)a:(')[sum] /this application creates the expected derived function

q)a
sum'

q)b:('')[sum] / '' should be an adverb projection, since the operand to ' is ' (an adverb) and not a [derived] function but the second ' is lost when '' is applied?

q)b
sum'

q)a~b
1b

2 REPLIES 2

Flying
New Contributor III
b:(')(')[sum]

SJT
Contributor II
Contributor II
Looks like a rare sighting of the ghost in the machine ('')

q)gb:"[\"Who ya gonna call?\"]"
q)parse"('')",gb
(';')
"Who ya gonna call?"


Stephen Taylor | Librarian | Kx | +44 7713 400852 | stephen@kx.com