It is correct. A name which has not yet been assigned a value is interpreted
as referring to a verb; so 'b' here denotes a verb. Then 'text',b is a fork,
so that is also a verb. So the entire sentence is grammatically equivalent to
u E. r. In other words: apply E. to r, and then apply ('text',b) to the
result.
On Mon, 19 Dec 2022, Gilles Kirouac wrote:
Full session:
r=:'some text 123'
('text',b)E.r
|valence error, executing monad E.
|verb has no monadic valence
| ('text',b) E.r
b
|value error: b
JVERSION
Engine: j904/j64avx/windows
Beta-i: commercial/2022-12-13T15:19:30
Library: 9.04.06
Qt IDE: 2.0.3s/6.2.4(6.2.4)
Platform: Win 64
Installer: J904 install
InstallPath: c:/users/mouton/j904
Contact: www.jsoftware.com
~ Gilles
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm