Yes, put the C
before the parenthesis, see here for the full syntax:
Notice that you should not put the C
into the AbstractAgent
supertype, as it doesn’t have parametric types itself. You can define your own supertype abstract type MySuperAgent{C} <: AbstractAgent
instead.