X-Git-Url: https://ocean-lang.org/code/?p=ocean;a=blobdiff_plain;f=csrc%2Foceani.mdc;fp=csrc%2Foceani.mdc;h=4b1b32a042719f79719c97a6d4ab3e8e419957aa;hp=c687fddca5ea7a17521fe730c81d8381d61bbb6e;hb=444e9b6e7cbe3f6b8968a275ddc6fe49c94d552e;hpb=39f272e16649c2fe49184d31f668471ff49ee9ed diff --git a/csrc/oceani.mdc b/csrc/oceani.mdc index c687fdd..4b1b32a 100644 --- a/csrc/oceani.mdc +++ b/csrc/oceani.mdc @@ -763,13 +763,6 @@ possibly for order. For now, values might need to be duplicated and freed, though eventually such manipulations will be better integrated into the language. -Rather than requiring every numeric type to support all numeric -operations (add, multiply, etc), we allow types to be able to present -as one of a few standard types: integer, float, and fraction. The -existence of these conversion functions eventually enable types to -determine if they are compatible with other types, though such types -have not yet been implemented. - Named type are stored in a simple linked list. Objects of each type are "values" which are often passed around by value. @@ -805,9 +798,6 @@ which might be reported in error messages. int (*test)(struct type *type, struct value *val); void (*free)(struct type *type, struct value *val); void (*free_type)(struct type *t); - long long (*to_int)(struct value *v); - double (*to_float)(struct value *v); - int (*to_mpq)(mpq_t *q, struct value *v); ## type functions union { ## type union fields