As I understand now from Array as object I have to use parametric object, because using non-parametric Logtalk objects implies that I have to use assert i.e. any change/set rewrites the whole array.
The problem is then :
- how do you EXTEND the Array class..
- OR instantiate it as ATTRIBUTE in the host class
Point 1
:- object(a2d, instantiates(array)).
:- end_object.
-
Reference to unknown object: array
even if it works, how do u access it internally .
Point2
means modifying the Term somehow ?