P
Size: a a a
P
P
P
VS
VS
P
P
VS
P
P
VS
P
S
S
extend Collection with [Element: 'Any Object' that 'Provides equivalence comparison'] {
function
'apply (transformer: fn (item: Self.Element) -returns: Nothing)
to all elements in collection,
but ignore anything that satisfy (predicate: fn (item: Self.Element) -returns: iso Bool)'
-returns: Nothing -body: {
'for item in (self) {
'if { predicate (item=item) .== (.yes) } than {
transformer (item=item)
} else {
itterator.'move to next item'
}' //closures can be written without enclosing () paranthesis
}'
}
}
S
VS
P