Rob Pike
Rob Pike
You can't, at least not yet. Ivy is far from a complete mapping of APL's features, even APL\360. I believe the more powerful versions α and ω came much later,...
Could do that. It hasn't really had enough users to be worth doing until you started posting all these power-user videos :)
`value.Errorf` panics because that is how the interpreter does error recovery. it's an easy way to do exception handling. Otherwise the control flow from deep in the interpreter during a...
Regarding the indexing example, that's the usual APL way, as you can see by trying the example on https://tryapl.org/. The vector left of the semicolon selects the first axis, while...
Oh, fair point. I misread your issue. @rsc did the rewrite that got us here so over to him.
I'd need to see the documentation.
I've wanted it too. Let me tackle it, although it's a bit tricky. It might require a long-desired feature of having operators be first class, although special parser support might...
The core issue is that there is nothing in ivy corresponding to what are called operators in APL (ivy's operators are functions in APL speak). The "each" token represents an...
> I've been thinking a lot about this. I agree that something's missing, and also that APL's each is not exactly right as is. > > One thing I was...
I implemented, by analogy with o., map., to iterate over the elements of the right hand side. So map.! 1 2 3 prints 1 2 6 It was easy to...