SelfAssigner done
!SelfAssigner class methodsFor: 'initialization'! isolate superclass := nil! ! SelfAssigner isolate!
咀嚼するも何もこれだけでいいのだった。恐るべしSmalltalk。
st> #i <+ 'hoge'! SelfAssigner new "<0x19c4ee00>" st> i size! 4 st> i ~ 7; f: [:a :b| a * b ]; l: 123! 34440
カスケードと組み合わせて括弧要らずのチェインも実現。嬉しい副作用である。
- おまけ*1
#include<iostream.h> main(i){cout<<++++++i;}
#i<+1+1;+1;+1;P!