Talk:Bitmap: Difference between revisions
Content added Content deleted
Line 67: | Line 67: | ||
<lang J>fillImage=: $~ $</lang> |
<lang J>fillImage=: $~ $</lang> |
||
When exactly two verbs (functions) are placed side by side, in isolation, J treats them specially. The one on the left has its normal dyadic meaning, the one on the right has its normal monadic meaning. |
|||
5 (* !) 3 |
|||
30 |
|||
5 * ! 3 |
|||
30 |
|||
5 * 6 |
|||
30 |
|||
!3 NB. 3 factorial |
|||
6 |
|||
Also, the ~ modifier creates a new function based on the original (but with its arguments swapped, left and right. |
Also, the ~ modifier creates a new function based on the original (but with its arguments swapped, left and right. |