doc: modify macro processor casting examples

issue#70
Houtan Bastani 2019-08-06 14:16:26 -04:00
parent 618bf7c987
commit 76f186faeb
No known key found for this signature in database
GPG Key ID: 000094FB955BE169
1 changed files with 5 additions and 5 deletions

View File

@ -151,11 +151,11 @@
\end{itemize}
\item Variables/literals of the types listed above can be cast to other types
\begin{itemize}
\item \texttt{(bool) 3.9} $\rightarrow$ \texttt{true}
\item \texttt{(double) ``3.9''} $\rightarrow$ \texttt{3.9}
\item \texttt{(array) 3.9} $\rightarrow$ \texttt{[3.9]}
\item \texttt{(double) [3.9]} $\rightarrow$ \texttt{3.9}
\item \texttt{(double) [3.9, 3]} $\rightarrow$ \texttt{error}
\item \texttt{(bool) -1 \&\& (bool) 2} $\rightarrow$ \texttt{true}
\item \texttt{(double) ``3.1''} $\rightarrow$ \texttt{3.1}
\item \texttt{(array) 4} $\rightarrow$ \texttt{[4]}
\item \texttt{(double) [5]} $\rightarrow$ \texttt{5}
\item \texttt{(double) [6, 7]} $\rightarrow$ \texttt{error}
\end{itemize}
\end{itemize}
\end{frame}