- syntax_error(+Culprit)
- A text has invalid syntax. The error is described by Culprit.
According to the ISO Standard, Culprit should be an
implementation-dependent atom.
- To be done
- - Deal with proper description of the location of the
error. For short texts, we allow for Type(Text), meaning
Text is not a valid Type. E.g.
syntax_error(number('1a'))
means that 1a
is not a valid number.