28.01.2015 Views

Hermes: A Tutorial and Reference Manual - Researcher - IBM

Hermes: A Tutorial and Reference Manual - Researcher - IBM

Hermes: A Tutorial and Reference Manual - Researcher - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

10411.4.ScalarOperations Integer,Real,<strong>and</strong>NamedLiterals Literalsareexpressionswhichcomputearesultdenedatcompile-time.<br />

getatypeerror.Thecompilerwillnotscanthroughthesetofallvisible Examples:23,'blue',"Hello,World!". whetheritisaninteger,real,string,ornamedliteral.Forexamplethe Theyaretreatedasnullaryoperationsforthepurposeoftype-checking.<br />

typestoseeifthereisauniqueoneinwhichthisexpressionmakessense. rememberthatifyouwriteanexpressionlike'fair'

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!