This has been requested before. I would very much enjoy having this.
On May 18, 2011 10:19 PM, "Raul Miller" <[email protected]> wrote:
> Currently, we do not have an evoke option to concatenate a series of
> verbs together.
>
> Has anyone ever asked for one?
>
> In other words, f`g`h`:1 y would produce the result of f g h y.
>
> (Though the number 1 is arbitrary and could be replaced with something
else.)
>
> Here's a model for what I mean by concatenate a series of verbs together:
>
> concat=:1 :0
> ((] #~ i.@# -.@e. _2 + #),({.[:`''),.m)`:6
> )
>
> f=:1000&+
> g=:100&+
> h=:10&+
> f`g`h concat 1
> 1111
>
> --
> Raul
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm