[squeak-dev] Extracting argument names from a block
Frank Shearar
frank.shearar at gmail.com
Mon May 21 20:47:46 UTC 2012
Without having to decompile a block, how may I find the names of a
block's arguments?
In other words, given
[:a :b :c | "stuff"]
I'd like to extract #(a b c).
(Failing that, I'll have to live with myBlock decompile arguments
collect: [:a | a name asSymbol]).
frank
More information about the Squeak-dev
mailing list
|