2 (%:^:) 16
2
that works
%: ^: 2 16
%:^:2 16
Hum... that doesn't work
----- Original Message Follows -----
From: Viktor Cerovski <[email protected]>
To: [email protected]
Subject: [Jprogramming] Power of adverbs
Date: Wed, 20 May 2009 13:27:19 -0700 (PDT)
>J's dictionary gives this interesting expression:
>
>
>> The phrase x f...@[&0 y is equivalent to f^:x y , apply the
>> monad f x times to y .
>>
>There is another equivalent, adverbial, phrase:
>
>x (f^:) y
>
>
>
>--
>View this message in context:
>http://www.nabble.com/Power-of-adverbs-tp23642873s24193p23642873.html
>Sent from the J Programming mailing list archive at
>Nabble.com.
>
>-----------------------------------------------------------
>----------- For information about J forums see
>http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm