On Sun, 19 Apr 2009, Moritz Lenz via RT wrote:
I'm a bit confused though - why is prefix:<=> in IO.pir, while .get is
in Iterator.pir - both seem to have the same function. Is there a good
reason for that?

Iterator will support .get.  It's unclear whether IO will as well,
or whether it will stay exclusively with .getc/.readline.  They were
both supposed to support prefix:<=> but prefix:<=> was not implemented for Iterator in rakudo.

Even if both support .get, Iterators and IO objects will have different implementations. This is the implementation for Iterator, which is currently mostly a boxed Parrot primitive type.

As I did not know what the eventual intent was with IO, I did not try to implement .get also for the IO class.

Reply via email to