I haven't touched Io in some time, but about a month ago, I came with this piece of Io code, to explore the Io written methods in default Io installation.
For example, to explore Number blocks (all are written in Io, CFunctions aren't), you just have to type this in Io REPL.
For example, to explore Number blocks (all are written in Io, CFunctions aren't), you just have to type this in Io REPL.
Number slotNames foreach(i,
if(Number getSlot(i) type == "Block" ,
(i .. " -> " .. Number getSlot(i) code) println))
No hay comentarios:
Publicar un comentario