Skip to content

Commit

Permalink
Fix some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
kwxm committed Apr 7, 2021
1 parent 9d893d1 commit bcf74d4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plutus-core-spec/plutus-core-specification.tex
Expand Up @@ -332,7 +332,7 @@ \section{Syntax}

The grammar of Plutus Core is given in
Figures~\ref{fig:lexical-grammar} and
\ref{fig:grammar} (but see the update in Section~\ref{sec:syntax-update}).
\ref{fig:grammar} (but see the note on revised syntax in Section~\ref{sec:syntax-update}).
This grammar describes the abstract syntax trees of Plutus Core in a convenient
notation which can also be used as concrete syntax for purposes such as
experimentation and debugging.
Expand Down Expand Up @@ -505,7 +505,7 @@ \subsection{Notes on the grammar}
they are dealing with code conforming to the correct version of the
Plutus Core language.

\red{\subsection{Note: revised syntax}}
\subsection{\red{Note: revised syntax}}
\label{sec:syntax-update}
\noindent In the current (April 2021) implementation of Plutus Core the syntax of built-in
functions has changed somewhat. In the syntax above and the semantics and
Expand All @@ -519,8 +519,8 @@ \subsection{Notes on the grammar}
$$
\noindent
which can be applied to arguments one by
one. Thus \texttt{(builtinAddInteger)}, \texttt{[(builtinAddInteger) (con
integer 5)]}, and \texttt{[(builtinAddInteger) (con integer 5) (con integer 6)]}
one. Thus \texttt{(builtin addInteger)}, \texttt{[(builtin addInteger) (con
integer 5)]}, and \texttt{[(builtin addInteger) (con integer 5) (con int\-eger 6)]}
are all valid terms. The first two of these are values which cannot immediately
be reduced (but could, for example, be passed as arguments to other functions);
the third will evaluate to \texttt{(con integer 11)}. In the polymorphic
Expand Down

0 comments on commit bcf74d4

Please sign in to comment.