On Tue, Feb 4, 2014 at 8:43 AM, Raul Miller <[email protected]> wrote:
> if=: 2 :0
>    u"_`(v"_)
> )
>
> else=: 2 :0
>   v"_`(0{m)@.((1{m)`:6)
> )

Wow, thanks! I had considered using a gerund but didn't realize I
could use "_ to
handle both nouns and verbs uniformly. Very cool. :)

> Do you also want to see an implementation for your alternate proposal?

Sure! :) If it wasn't clear, I've actually implemented both versions
already, but I've only been doing
J for a few weeks, and kind of wanted some expert feedback. :)

>>     https://github.com/tangentstorm/tangentlabs/blob/master/j/syntax.ijs
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to