User Tools

Site Tools


semantics_specification

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
semantics_specification [2012/02/26 11:38] – [Operator types] xjiasemantics_specification [2012/03/25 13:57] (current) – [Operator types] mhwang
Line 20: Line 20:
 ^ ''=''             | (a,a)->a | null是任意record type | ^ ''=''             | (a,a)->a | null是任意record type |
 ^ ''||'' and ''&&'' | (int,int)->{0,1} | 短路逻辑 | ^ ''||'' and ''&&'' | (int,int)->{0,1} | 短路逻辑 |
-^ ''=='' and ''!='' | (a,a)->{0,1} | record的比较是比较地址而不是值 |+^ ''=='' and ''!='' | (a,a)->{0,1} | record/array的比较是比较地址而不是值 |
 ^ ::: | ::: | 字符串比较的是值而不是地址 | ^ ::: | ::: | 字符串比较的是值而不是地址 |
-^ ''<'', ''<''''='', ''>'' and ''>='' | (a,a)->{0,1} | 不能比较record |+^ ''<'', ''<''''='', ''>'' and ''>='' | (a,a)->{0,1} | 不能比较record/array |
 ^ ::: | ::: | 字符串按字典序比较 | ^ ::: | ::: | 字符串按字典序比较 |
 ^ ''+'' | 见加法类型表 || ^ ''+'' | 见加法类型表 ||
semantics_specification.1330256322.txt.gz · Last modified: 2012/02/26 11:38 by xjia

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki