=..
|spelling error
| =..
| ^
|[-0]
=::
|spelling error
| =::
| ^
|[-0]
It is true that you can use =. and =: in building tacit expressions, but
like using something like 3+2 in writing a tacit expression. It disappears
as when one examines the resultant tacit expression. 5 is found instead of
3+2.
Personally I would not use =: inside a tacit expression. Defining the name
before the tacit expression would be clearer and more readable for others.
=. has possibilities to avoid repeating some expression but the resultant
tacit expression will not be smaller and the assigned expression will be
repeated giving no improvement in readability or size.
Your particular expression:
('p'~ , 0 $ 'p' =: ]) 'erling'
erling
('p'~ , 0 $ 'p' =: ])
p , 0 $ ]
(I fixed the =.. as it makes no sense)
Notice the resultant tacit expression. It contains the name p but no
assignment for p. This could lead to all kinds of interesting problem if p
gets redefined.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm