Skip to content
Prev 17613 / 63424 Next

NUMERIC_POINTER question

Thanks Roger, Simon, Reid,


It's indeed trivial, if you stop to believe that S4 provides any type of 
type safety. However, having in mind all the arguments why S4, and that 
it  was designed in order to incorporate type safety on both the R and C 
side I was not expecting that when trying for the *first* time, the 
get_slot and set_slot "stuff" I will run in exactly the problems which 
S4 is supposed to solve.

Of course I knew that "matrix" is not S4 and it is therefore even not a 
proper class. But this complexity sometimes blows your mind.

Cheers
Eryk.
Simon Urbanek wrote: