Sunday, 8 September 2013

J: Why does `f^:proposition^:_ y` stand for a while loop?

J: Why does `f^:proposition^:_ y` stand for a while loop?

As title says, I don't understand why f^:proposition^:_ y is a while loop.
I have actually used it a couple times, but I don't understand how it
works. I get that ^: repeats functions, but I'm confused by the double use
of it in that statement.
I also can't understand why f^:proposition^:a: y works. This is the same
as the previous one but returns the values from all the iterations,
instead of only the last one as did the one above.
a: is an empty box and I get that has a special meaning used with ^: but
even after having looked into the dictionary I couldn't understand it.
Thanks.

No comments:

Post a Comment