Skip to content

Commit 87cef7c

Browse files
committed
*synchronious -> *synchronous
1 parent dd7f4f0 commit 87cef7c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

notes/techreport.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ \subsection{Go: Translations of hight-order functions to asynchronous form.}
8484
\item $h(g)$ translated to $await(h'(g'))$ if $g$ is invocation-only in $h$.
8585
\end{itemize}
8686

87-
Scala-gopher contains asynchronious variants of predefined functions from Scala collection API, so it is possible to use asynchronious expressions inside a loop. For example, next code:
87+
Scala-gopher contains asynchronous variants of predefined functions from Scala collection API, so it is possible to use asynchronous expressions inside a loop. For example, next code:
8888

8989
\begin{Verbatim}[fontsize=\small]
9090
go {
@@ -106,7 +106,7 @@ \subsection{Go: Translations of hight-order functions to asynchronous form.}
106106
(1 to n).mapAsync(i => out.aread)
107107
\end{Verbatim}
108108

109-
Using this approach allows overcoming the inconvenience of async/await by allowing programmers to use hight-order functions API inside asynchronous expression. Also, it is theoretically possible to generate asynchronous variants of API methods by transforming TASTY\cite{TASTY} representation of AST of synchronous versions. A similar technique is implemented in Nim \cite{Nim} programming language, where we can generate both synchronious and asynchronious variants of a function from one definition.
109+
Using this approach allows overcoming the inconvenience of async/await by allowing programmers to use hight-order functions API inside asynchronous expression. Also, it is theoretically possible to generate asynchronous variants of API methods by transforming TASTY\cite{TASTY} representation of AST of synchronous versions. A similar technique is implemented in Nim \cite{Nim} programming language, where we can generate both synchronous and asynchronous variants of a function from one definition.
110110

111111
\item do transformation of defer statement. This is just an implementation of error handling mechanism.
112112

@@ -137,7 +137,7 @@ \subsection{Channels: callbacks organized as waits}
137137
consume value (or \verb|end-of-input| or few other special cases) and return future to the next
138138
computation state.
139139

140-
Traditional synchronious API (i.e. method $read:\To A$) can be used inside \verb|go| and \verb|async| statements; from 'normal' code we can use asynchronious variant: $aread: \To Future[A]$.
140+
Traditional synchronous API (i.e. method $read:\To A$) can be used inside \verb|go| and \verb|async| statements; from 'normal' code we can use asynchronous variant: $aread: \To Future[A]$.
141141

142142
Output interface is similar:
143143
\begin{Verbatim}[fontsize=\small]

0 commit comments

Comments
 (0)