type
ScorableCollection = concept x
x[0].score is float # This is redundant ...
x is seq[Scorable] # ... so we are left with this one, which means
that the type definition ...
type ScorableCollection = seq[Scorable] # ... should look like this
instead.
Run
Also `newSeqWith` expects something of a concrete type. `agents[i]` isn't,
because `Scorable` is a type class.
> The following doesn't work, but shows my intent with concepts.
Most of the time, that's not enough. Submit example code which has a chance to
compile modulo the thing that doesn't work.