Same | [ ] _ _ _ | Left, Right |
The monads [ and ] are each identity functions;
each yields its argument.
|
x [ y (left bracket) yields the left
argument x , and x ] y (right bracket)
yields the right argument y .
|
n=: i. 2 3 a=: 'abcde' ]n 0 1 2 3 4 5 [a abcde n[a 0 1 2 3 4 5 n]a abcde ([\ ; ]\ ; [\. ; ]\.) 'ABCDEF' +------+------+------+------+ |A |A |ABCDEF|ABCDEF| |AB |AB |BCDEF |BCDEF | |ABC |ABC |CDEF |CDEF | |ABCD |ABCD |DEF |DEF | |ABCDE |ABCDE |EF |EF | |ABCDEF|ABCDEF|F |F | +------+------+------+------+