Constants also include atoms such as
a void = := 'Algol-68' []
Atoms are definite elementary objects, and correspond to proper nouns in natural language. For reference purposes, here is a list of the possible forms that an atom may take:
_
),
starting with a lower case letter.
+ - * / \ ^ < > = ~ : . ? @ # $ &This set can in fact be larger; see Token String for a precise definition.
'can\'t'
.
! ; [] {}Note that the bracket pairs are special:
[]
and {}
are
atoms but [
, ]
, {
, and }
are not.
However, when they are used as functors (see below) the form
{
X}
is allowed as an alternative to {}(
X)
.
The form [
X]
is the normal notation for lists, as an
alternative to .(X,[])
.