Nothing more to add actually, how can I make classes like Array(with generics)?
also I meant to write "do" at the and of the title instead of "doc", mac's autocorrection screwed me
Nothing more to add actually, how can I make classes like Array(with generics)?
also I meant to write "do" at the and of the title instead of "doc", mac's autocorrection screwed me
I don't think you can.
https://developer.garmin.com/connect-iq/monkey-c/monkey-types/
The Monkey C language has two native container types, Array and Dictionary. While the Monkey Types system does not support generics, it does allow for the developer to type the value type of an Array or the key and value type of a Dictionary.
for some basics of monkey types. Remember that is only a compile time thing.
That's unfortunate, looking forward for Garmin to add generics to Monkey C!