This 'ignorance' dates back from my first steps. Meanwhile I'm aware that
this 'inheritance' behavior might lead to severe complications. I've to
catchup cleaning my old code.
Again, many thanks!.
Kurt
On Saturday, 23 August 2014 18:09:24 UTC+2, Waldek Hebisch wrote:
>
> BTW constructs like:
>
> > Implementation == Integer add
> >
> > ---------------------------------------
> > -- Represent as 1-Array [0,0,0,0,0,0,0]
> > ---------------------------------------
> > Rep := OneDimensionalArray(Integer)
>
> are asking for trouble. Instead use:
>
> Implementation == add
> ....
>
>
> that is drop 'Integer' that was before add. Your orignal
> line says that all functions that are not implemented by
> you should be taken from Integer. Of course in Integer
> we assume specific representation. If you use different
> representation than inherited from Integer may crash.
> So, to be safe when using inheritance either give no
> 'Rep' or (if you really need) make sure that new 'Rep'
> is compatible with old one.
>
> --
> Waldek Hebisch
> [email protected] <javascript:>
>
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.