src/Doc/Implementation/ML.thy
changeset 59572 7e4bf0824cd3
parent 59187 5a783837b50b
child 59624 6c0e70b01111
equal deleted inserted replaced
59571:1081f91c0662 59572:7e4bf0824cd3
  1114   exception state, the system will print the result on the error
  1114   exception state, the system will print the result on the error
  1115   channel (see \secref{sec:message-channels}).
  1115   channel (see \secref{sec:message-channels}).
  1116 
  1116 
  1117   It is considered bad style to refer to internal function names or
  1117   It is considered bad style to refer to internal function names or
  1118   values in ML source notation in user error messages.  Do not use
  1118   values in ML source notation in user error messages.  Do not use
  1119   @{text "@{make_string}"} here!
  1119   @{text "@{make_string}"} nor @{text "@{here}"}!
  1120 
  1120 
  1121   Grammatical correctness of error messages can be improved by
  1121   Grammatical correctness of error messages can be improved by
  1122   \emph{omitting} final punctuation: messages are often concatenated
  1122   \emph{omitting} final punctuation: messages are often concatenated
  1123   or put into a larger context (e.g.\ augmented with source position).
  1123   or put into a larger context (e.g.\ augmented with source position).
  1124   Note that punctuation after formal entities (types, terms, theorems) is
  1124   Note that punctuation after formal entities (types, terms, theorems) is