I would like to improve David's answer by proposing this solution:
armories inject: OrderedCollection new into: [:allWeapons :armory |
allWeapons, armory weapons]
As ,
returns concatenation from 2 collections.
"" OrderedCollection. fold:
reduce:
'reduceLeft: `, . , :
(armories collect:
allWeapons, weapons]
, armories collect: #weapons
. fold:
1- 2- . .....
, , flatCollect:
. , pharo, , . , collect:
, . , , , :
armories flatCollect:
Enjoy