Skip to content

Instantly share code, notes, and snippets.

Created November 20, 2021 00:00
What would you like to do?
^ ChainProxy new setTarget: self
ChainProxy>>doesNotUnderstand: aMessage
target := aMessage sendTo: target.
^ target
ChainProxy>>setTarget: anObject
target := anObject.
^ self
#(apple peach banana) chain
groupedBy: #size;
select: [:each | each size even];
collect: #asCommaString.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment