Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: de2055ad24
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (12 sloc) 0.399 kB
\begin{Exercise}[title={Map function with interfaces},difficulty=2]
\label{ex:map function interfaces}
\Question
Use the answer from exercise Q\ref{ex:map function}, but now
make it generic using interfaces. Make it at least work for
ints and strings.
\end{Exercise}
\begin{Answer}
\Question
\lstinputlisting[label=src:map,caption=A generic map function in
Go]{ex-beyond/src/map.go}
\end{Answer}
Jump to Line
Something went wrong with that request. Please try again.