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
semantics_specification [2012/03/25 13:55] – [Operator types] mhwangsemantics_specification [2012/03/25 13:57] (current) – [Operator types] mhwang
Line 18: Line 18:
 ^ ^ 类型映射 ^ 说明 | ^ ^ 类型映射 ^ 说明 |
 ^ '',''             | (a,b)->b | ^ '',''             | (a,b)->b |
-^ ''=''             | (a,a)->a | null是任意record type或array type |+^ ''=''             | (a,a)->a | null是任意record type |
 ^ ''||'' and ''&&'' | (int,int)->{0,1} | 短路逻辑 | ^ ''||'' and ''&&'' | (int,int)->{0,1} | 短路逻辑 |
 ^ ''=='' and ''!='' | (a,a)->{0,1} | record/array的比较是比较地址而不是值 | ^ ''=='' and ''!='' | (a,a)->{0,1} | record/array的比较是比较地址而不是值 |
semantics_specification.1332683751.txt.gz · Last modified: 2012/03/25 13:55 by mhwang

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki