immutable class C_INT |
---|
**** | ANSI C ``int'' (built in type) |
create(x:INT):C_INT |
---|
div(i:SAME):SAME |
---|
int:INT |
---|
**** | A Sather integer version of self |
is_eq(i:SAME):BOOL |
---|
is_eq(arg: $OB): BOOL .. Included as is_eq |
---|
**** | Overloaded version of the is_eq routine that works with an argument of any type. If the type of the 'arg' is not the same as they type of 'self' then return false. Otherwise, deletegate to the 'real' is_eq(SAME):BOOL routine |
is_lt(i:SAME):BOOL |
---|
is_nil:BOOL |
---|
minus(i:SAME):SAME |
---|
nil:SAME |
---|
**** | let Sather handle this (we are confused by the philosophical impilations of nil vs void vs unitialized vs zero |
plus(i:SAME):SAME |
---|
str:STR |
---|
times(i:SAME):SAME |
---|
zero:SAME |
---|