Commit e7ac5067 authored by Gautham Velchuru's avatar Gautham Velchuru
Browse files

syncing

parent 67703dbf
\begin{Verbatim}[commandchars=\\\{\}]
\PYG{k}{def} \PYG{n+nf}{weird\PYGZus{}function\PYGZus{}call}\PYG{p}{(}\PYG{o}{\PYGZam{}}\PYG{n+nb}{p}\PYG{p}{)}
\PYG{k}{return} \PYG{n+nb}{p}\PYG{o}{.}\PYG{n}{call}
\PYG{k}{end}
\end{Verbatim}
\begin{Verbatim}[commandchars=\\\{\}]
\PYG{l+m+mi}{5}\PYG{o}{.}\PYG{n}{times} \PYG{k}{do} \PYG{o}{|}\PYG{n}{i}\PYG{o}{|}
\PYG{n+nb}{print} \PYG{n}{i}\PYG{p}{,} \PYG{l+s+s2}{\PYGZdq{} \PYGZdq{}}
\PYG{k}{end}
\end{Verbatim}
......@@ -10,16 +10,4 @@
\PYG{n+nv+vi}{@arr}\PYG{o}{.}\PYG{n}{each}\PYG{p}{(}\PYG{o}{\PYGZam{}}\PYG{n}{blk}\PYG{p}{)} \PYG{c+c1}{\PYGZsh{}Reference to block}
\PYG{k}{end}
\PYG{k}{end}
\PYG{p}{\PYGZbs{}}\PYG{n}{subsection}\PYG{p}{\PYGZob{}}\PYG{n+no}{Other} \PYG{n}{semi}\PYG{o}{\PYGZhy{}}\PYG{n}{important} \PYG{n}{things}\PYG{p}{\PYGZcb{}}
\PYG{p}{\PYGZbs{}}\PYG{k}{begin}\PYG{p}{\PYGZob{}}\PYG{n}{itemize}\PYG{p}{\PYGZcb{}}
\PYG{p}{\PYGZbs{}}\PYG{n}{item} \PYG{n+no}{Enumerable} \PYG{k}{class} \PYG{n}{contains} \PYG{n}{min}\PYG{p}{,} \PYG{n}{max} \PYG{n}{as} \PYG{n}{an} \PYG{n}{attribute}
\PYG{p}{\PYGZbs{}}\PYG{n}{item} \PYG{n+no}{Hash} \PYG{n}{can} \PYG{n}{be} \PYG{n}{instantiated} \PYG{n}{with} \PYG{n}{a} \PYG{n}{default} \PYG{n}{parameter}
\PYG{p}{\PYGZbs{}}\PYG{n}{item} \PYG{n+no}{Arrays} \PYG{n}{use} \PYG{o}{.}\PYG{n}{include?}\PYG{p}{,} \PYG{n+no}{Hashes} \PYG{n}{use} \PYG{o}{.}\PYG{n}{member?}
\PYG{p}{\PYGZbs{}}\PYG{n}{item} \PYG{n+no}{Instead} \PYG{n}{of} \PYG{n}{a} \PYG{k}{for} \PYG{k+kp}{loop}\PYG{p}{,} \PYG{n}{you} \PYG{n}{can} \PYG{k}{do} \PYG{n}{the} \PYG{l+s+ss}{following}\PYG{p}{:}
\PYG{p}{\PYGZbs{}}\PYG{k}{begin}\PYG{p}{\PYGZob{}}\PYG{n}{minted}\PYG{p}{\PYGZcb{}\PYGZob{}}\PYG{n}{ruby}\PYG{p}{\PYGZcb{}}
\PYG{l+m+mi}{5}\PYG{o}{.}\PYG{n}{times} \PYG{k}{do} \PYG{o}{|}\PYG{n}{i}\PYG{o}{|}
\PYG{n+nb}{print} \PYG{n}{i}\PYG{p}{,} \PYG{l+s+s2}{\PYGZdq{} \PYGZdq{}}
\PYG{k}{end}
\end{Verbatim}
......@@ -33,16 +33,17 @@
\@writefile{toc}{\contentsline {subsection}{\numberline {4.6}Blocks, procs, lambdas}{7}}
\@writefile{toc}{\contentsline {subsection}{\numberline {4.7}Inheritance}{7}}
\@writefile{toc}{\contentsline {subsection}{\numberline {4.8}Enumerable}{8}}
\@writefile{toc}{\contentsline {subsection}{\numberline {4.9}Reflection}{9}}
\@writefile{toc}{\contentsline {subsection}{\numberline {4.9}Other semi-important things}{9}}
\@writefile{toc}{\contentsline {subsection}{\numberline {4.10}Reflection}{9}}
\@writefile{toc}{\contentsline {section}{\numberline {5}Haskell}{9}}
\@writefile{toc}{\contentsline {subsection}{\numberline {5.1}Functions}{9}}
\@writefile{toc}{\contentsline {subsection}{\numberline {5.2}Types}{9}}
\@writefile{toc}{\contentsline {subsection}{\numberline {5.3}Referential transparency}{9}}
\@writefile{toc}{\contentsline {subsection}{\numberline {5.3}Referential transparency}{10}}
\@writefile{toc}{\contentsline {subsection}{\numberline {5.4}Guards}{10}}
\@writefile{toc}{\contentsline {subsection}{\numberline {5.5}List comprehensions}{10}}
\@writefile{toc}{\contentsline {subsection}{\numberline {5.6}monads, I/O}{10}}
\@writefile{toc}{\contentsline {subsection}{\numberline {5.7}Call-By}{10}}
\@writefile{toc}{\contentsline {subsection}{\numberline {5.8}Static typing}{10}}
\@writefile{toc}{\contentsline {subsection}{\numberline {5.8}Static typing}{11}}
\@writefile{toc}{\contentsline {subsection}{\numberline {5.9}Let/Where}{11}}
\@writefile{toc}{\contentsline {section}{\numberline {6}Octopus}{11}}
\@writefile{toc}{\contentsline {section}{\numberline {7}Java}{11}}
......@@ -107,7 +108,9 @@
ED2E6C59BBDE7EF1E3C21298CE92EEAFA15C0CEA82421F045DAF380F7E860C2A.pygtex,
EE396F4F7DDCDDD92E3D7FB81D4371F3A15C0CEA82421F045DAF380F7E860C2A.pygtex,
4AF490FEA182ADBF31D67A1B254CF9DFA15C0CEA82421F045DAF380F7E860C2A.pygtex,
C634C5B98E048D2D62EA757C69B3D424A15C0CEA82421F045DAF380F7E860C2A.pygtex,
E650A591B3522422334F6706F086F1DCA15C0CEA82421F045DAF380F7E860C2A.pygtex,
94D080DA7CBE6D002AF263A002D44439A15C0CEA82421F045DAF380F7E860C2A.pygtex,
A56864D158370C50A61A8B40BF593B7AA15C0CEA82421F045DAF380F7E860C2A.pygtex,
02DFB91B05E21760BDA809236035596BA15C0CEA82421F045DAF380F7E860C2A.pygtex,
57EC26033360CCD3724E8AF51E1F98CCF2CA81E7B26B3986E5291D03C014E77B.pygtex,
77C0832C8BCB2A6A98117AFCECBE18C9F2CA81E7B26B3986E5291D03C014E77B.pygtex,
......
# Fdb version 3
["pdflatex"] 1527983354 "all_study_guide.tex" "all_study_guide.pdf" "all_study_guide" 1527983354
["pdflatex"] 1527996465 "all_study_guide.tex" "all_study_guide.pdf" "all_study_guide" 1527996466
"/dev/null" 1527892464 0 d41d8cd98f00b204e9800998ecf8427e ""
"/usr/share/texmf-dist/fonts/enc/dvips/cm-super/cm-super-ts1.enc" 1520157211 2900 1537cc8184ad1792082cd229ecc269f4 ""
"/usr/share/texmf-dist/fonts/map/fontname/texfonts.map" 1520157216 3332 103109f5612ad95229751940c61aada0 ""
......@@ -91,20 +91,22 @@
"_minted-all_study_guide/874C30DABB4D3006287318F54AA39D80465A516120F3196FA8E2CA26C46A5C64.pygtex" 1527981352 849 3142a9f33a109249f6bbd813ccadcdaa ""
"_minted-all_study_guide/87BA332A2091250B02A456556DB5A659F2CA81E7B26B3986E5291D03C014E77B.pygtex" 1527966482 403 31c11736f7cdcf21c11b4a38db52a9ab ""
"_minted-all_study_guide/8D00AD237703CBE4A4F273951D0EF2116CD81CFDCB5F0793F497D493F610EBFB.pygtex" 1527965156 953 6856c2d16382ff3be6e5f83176c93ab1 ""
"_minted-all_study_guide/94D080DA7CBE6D002AF263A002D44439A15C0CEA82421F045DAF380F7E860C2A.pygtex" 1527996465 247 818c8685e65651ed8acf49b3c435a57c ""
"_minted-all_study_guide/996946FE6590634B25B353ADBDFFABC86CD81CFDCB5F0793F497D493F610EBFB.pygtex" 1527965156 166 cded41d5a8a198e155215dc154f7c4f3 ""
"_minted-all_study_guide/A56864D158370C50A61A8B40BF593B7AA15C0CEA82421F045DAF380F7E860C2A.pygtex" 1527995932 250 6e4f5848cb69f08a2d83f04e2f7873f1 ""
"_minted-all_study_guide/AB4D65C4143175A385628621875BE9EC6CD81CFDCB5F0793F497D493F610EBFB.pygtex" 1527965156 742 8f15ef4e3ee5b1cb61d0d927e3729214 ""
"_minted-all_study_guide/B1A6820689DC5F95D72C265BF23F869E4760FA0D46E6ABB3BDF61BCAA500EF4C.pygtex" 1527974330 865 b9fc2695ce4befb5076eff78e30137f4 ""
"_minted-all_study_guide/BBDD6AFFEF104625B3697C86096991EBA15C0CEA82421F045DAF380F7E860C2A.pygtex" 1527971886 247 412248bf2d8e4f88cbe0b1aede59523b ""
"_minted-all_study_guide/BC7CBEA733FDC071906554D63AC80FA1F2CA81E7B26B3986E5291D03C014E77B.pygtex" 1527982579 460 30fc27dae0402915d9786a2083dc2c07 ""
"_minted-all_study_guide/BE21E1EA69750E20E3B54F7A219FDD0C4760FA0D46E6ABB3BDF61BCAA500EF4C.pygtex" 1527968812 211 48608ee934e5554b26ec497bbaed1848 ""
"_minted-all_study_guide/C628629981CF55D032F3C98601789CD46CD81CFDCB5F0793F497D493F610EBFB.pygtex" 1527965156 547 6a3b63aeeac14750d97e1c7f39e2b4c0 ""
"_minted-all_study_guide/C634C5B98E048D2D62EA757C69B3D424A15C0CEA82421F045DAF380F7E860C2A.pygtex" 1527980650 1893 909e7881d35ed9034289431b666c40a4 ""
"_minted-all_study_guide/CEBB2E4153930A8AB1FA44928D66F94CA15C0CEA82421F045DAF380F7E860C2A.pygtex" 1527965156 167 a8e81e2af1f97334084760f9e01b81a7 ""
"_minted-all_study_guide/D4B0FE927B925934355B3498C686482A4760FA0D46E6ABB3BDF61BCAA500EF4C.pygtex" 1527983280 676 1a2b324ff7ac3fd9901743b1ce8b6a3b ""
"_minted-all_study_guide/E238A46EDE50798EB2CC3A3A95ADCDFAA15C0CEA82421F045DAF380F7E860C2A.pygtex" 1527970389 192 07d5a90b999ff5fe82e2365b6b728d02 ""
"_minted-all_study_guide/E3B732DDE840FC16773250F77F310BC04760FA0D46E6ABB3BDF61BCAA500EF4C.pygtex" 1527965156 631 449e2d950049eb1ab6bc4b175533c26b ""
"_minted-all_study_guide/E47DECE261F6BDAFE988FE188C0AEBDA6CD81CFDCB5F0793F497D493F610EBFB.pygtex" 1527965156 2252 b7a6cbd327e9ccae35cdf89f5956c53f ""
"_minted-all_study_guide/E52FDF8B16A930D9CB0D715D43B382B6A15C0CEA82421F045DAF380F7E860C2A.pygtex" 1527965156 288 ab6c94f8baf440473d0248193384269f ""
"_minted-all_study_guide/E650A591B3522422334F6706F086F1DCA15C0CEA82421F045DAF380F7E860C2A.pygtex" 1527995931 579 e03428a58f4ff25ecc9dfca7d9fe22c3 ""
"_minted-all_study_guide/ED2E6C59BBDE7EF1E3C21298CE92EEAFA15C0CEA82421F045DAF380F7E860C2A.pygtex" 1527970668 972 2e3da6dc272b2934e3f39d2fa5813931 ""
"_minted-all_study_guide/EE2D7538D96D4B5E2BC4B913B41FC366465A516120F3196FA8E2CA26C46A5C64.pygtex" 1527965156 232 205a1f76b30aba05f129e1a5a1157629 ""
"_minted-all_study_guide/EE396F4F7DDCDDD92E3D7FB81D4371F3A15C0CEA82421F045DAF380F7E860C2A.pygtex" 1527965156 371 52f3a09319232a02e8d58bcf2bd5ce9a ""
......@@ -115,9 +117,9 @@
"_minted-all_study_guide/default-pyg-prefix.pygstyle" 1527965156 7889 3ce1fbc763e3e2c748310f4fe31722b6 ""
"_minted-all_study_guide/default.pygstyle" 1527965156 9275 f200be7fc0b7de2461cca28cb35b1427 ""
"all_study_guide.aex" 0 -1 0 ""
"all_study_guide.aux" 1527983280 10185 2c1a31dbca26ceb88519c575a9125fb3 ""
"all_study_guide.aux" 1527996466 10506 7d4c8607267d50fc8c68bb8be12fe2bf ""
"all_study_guide.pyg" 0 -1 0 ""
"all_study_guide.tex" 1527983353 26796 78b9b8b8e608ca217fc7c49e77f7db2a ""
"all_study_guide.tex" 1527996463 27038 3de8f1835ac3009337462234192d7811 ""
"all_study_guide.w18" 0 -1 0 ""
(generated)
"all_study_guide.aux"
......
......@@ -233,6 +233,7 @@ INPUT ./all_study_guide.pyg
INPUT _minted-all_study_guide/7640484B78377AAD56B141D62D611ABD4760FA0D46E6ABB3BDF61BCAA500EF4C.pygtex
INPUT _minted-all_study_guide/7640484B78377AAD56B141D62D611ABD4760FA0D46E6ABB3BDF61BCAA500EF4C.pygtex
INPUT _minted-all_study_guide/7640484B78377AAD56B141D62D611ABD4760FA0D46E6ABB3BDF61BCAA500EF4C.pygtex
INPUT _minted-all_study_guide/7640484B78377AAD56B141D62D611ABD4760FA0D46E6ABB3BDF61BCAA500EF4C.pygtex
OUTPUT all_study_guide.pyg
INPUT ./all_study_guide.pyg
INPUT _minted-all_study_guide/E238A46EDE50798EB2CC3A3A95ADCDFAA15C0CEA82421F045DAF380F7E860C2A.pygtex
......@@ -277,10 +278,22 @@ INPUT _minted-all_study_guide/4AF490FEA182ADBF31D67A1B254CF9DFA15C0CEA82421F045D
INPUT _minted-all_study_guide/4AF490FEA182ADBF31D67A1B254CF9DFA15C0CEA82421F045DAF380F7E860C2A.pygtex
OUTPUT all_study_guide.pyg
INPUT ./all_study_guide.pyg
INPUT _minted-all_study_guide/C634C5B98E048D2D62EA757C69B3D424A15C0CEA82421F045DAF380F7E860C2A.pygtex
INPUT _minted-all_study_guide/C634C5B98E048D2D62EA757C69B3D424A15C0CEA82421F045DAF380F7E860C2A.pygtex
INPUT _minted-all_study_guide/C634C5B98E048D2D62EA757C69B3D424A15C0CEA82421F045DAF380F7E860C2A.pygtex
INPUT _minted-all_study_guide/C634C5B98E048D2D62EA757C69B3D424A15C0CEA82421F045DAF380F7E860C2A.pygtex
INPUT _minted-all_study_guide/E650A591B3522422334F6706F086F1DCA15C0CEA82421F045DAF380F7E860C2A.pygtex
INPUT _minted-all_study_guide/E650A591B3522422334F6706F086F1DCA15C0CEA82421F045DAF380F7E860C2A.pygtex
INPUT _minted-all_study_guide/E650A591B3522422334F6706F086F1DCA15C0CEA82421F045DAF380F7E860C2A.pygtex
INPUT _minted-all_study_guide/E650A591B3522422334F6706F086F1DCA15C0CEA82421F045DAF380F7E860C2A.pygtex
OUTPUT all_study_guide.pyg
INPUT ./all_study_guide.pyg
INPUT _minted-all_study_guide/94D080DA7CBE6D002AF263A002D44439A15C0CEA82421F045DAF380F7E860C2A.pygtex
INPUT _minted-all_study_guide/94D080DA7CBE6D002AF263A002D44439A15C0CEA82421F045DAF380F7E860C2A.pygtex
INPUT _minted-all_study_guide/94D080DA7CBE6D002AF263A002D44439A15C0CEA82421F045DAF380F7E860C2A.pygtex
INPUT _minted-all_study_guide/94D080DA7CBE6D002AF263A002D44439A15C0CEA82421F045DAF380F7E860C2A.pygtex
OUTPUT all_study_guide.pyg
INPUT ./all_study_guide.pyg
INPUT _minted-all_study_guide/A56864D158370C50A61A8B40BF593B7AA15C0CEA82421F045DAF380F7E860C2A.pygtex
INPUT _minted-all_study_guide/A56864D158370C50A61A8B40BF593B7AA15C0CEA82421F045DAF380F7E860C2A.pygtex
INPUT _minted-all_study_guide/A56864D158370C50A61A8B40BF593B7AA15C0CEA82421F045DAF380F7E860C2A.pygtex
INPUT _minted-all_study_guide/A56864D158370C50A61A8B40BF593B7AA15C0CEA82421F045DAF380F7E860C2A.pygtex
OUTPUT all_study_guide.pyg
INPUT ./all_study_guide.pyg
INPUT _minted-all_study_guide/02DFB91B05E21760BDA809236035596BA15C0CEA82421F045DAF380F7E860C2A.pygtex
......
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/Arch Linux) (preloaded format=pdflatex 2018.3.16) 2 JUN 2018 16:49
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/Arch Linux) (preloaded format=pdflatex 2018.3.16) 2 JUN 2018 20:27
entering extended mode
\write18 enabled.
file:line:error style messages enabled.
......@@ -776,8 +776,6 @@ LaTeX Font Info: External font `cmex10' loaded for size
(./_minted-all_study_guide/D4B0FE927B925934355B3498C686482A4760FA0D46E6ABB3BDF61BCAA500EF4C.pygtex)
\openout3 = `all_study_guide.pyg'.
runsystem(pygmentize -l prolog -f latex -P commandprefix=PYG -F tokenmerge -o _minted-all_study_guide/7640484B78377AAD56B141D62D611ABD4760FA0D46E6ABB3BDF61BCAA500EF4C.pygtex all_study_guide.pyg)...executed.
(./_minted-all_study_guide/7640484B78377AAD56B141D62D611ABD4760FA0D46E6ABB3BDF61BCAA500EF4C.pygtex [5])
\openout3 = `all_study_guide.pyg'.
......@@ -802,51 +800,20 @@ runsystem(pygmentize -l prolog -f latex -P commandprefix=PYG -F tokenmerge -o _m
(./_minted-all_study_guide/4AF490FEA182ADBF31D67A1B254CF9DFA15C0CEA82421F045DAF380F7E860C2A.pygtex [7])
\openout3 = `all_study_guide.pyg'.
(./_minted-all_study_guide/C634C5B98E048D2D62EA757C69B3D424A15C0CEA82421F045DAF380F7E860C2A.pygtex [8])
./all_study_guide.tex:348: LaTeX Error: Lonely \item--perhaps a missing list environment.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.348 \item A
rray appending can be done as the following:
Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
Underfull \hbox (badness 10000) detected at line 348
[][]
[]
(./_minted-all_study_guide/E650A591B3522422334F6706F086F1DCA15C0CEA82421F045DAF380F7E860C2A.pygtex)
\openout3 = `all_study_guide.pyg'.
(./_minted-all_study_guide/02DFB91B05E21760BDA809236035596BA15C0CEA82421F045DAF380F7E860C2A.pygtex)
./all_study_guide.tex:355: LaTeX Error: \begin{document} ended by \end{itemize}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.355 \end{itemize}
Your command was ignored.
Type I <command> <return> to replace it with another command,
or <return> to continue without it.
(./_minted-all_study_guide/94D080DA7CBE6D002AF263A002D44439A15C0CEA82421F045DAF380F7E860C2A.pygtex) [8]
\openout3 = `all_study_guide.pyg'.
./all_study_guide.tex:355: Extra \endgroup.
<recently read> \endgroup
l.355 \end{itemize}
Things are pretty mixed up, but I think the worst is over.
(./_minted-all_study_guide/A56864D158370C50A61A8B40BF593B7AA15C0CEA82421F045DAF380F7E860C2A.pygtex)
\openout3 = `all_study_guide.pyg'.
(./_minted-all_study_guide/02DFB91B05E21760BDA809236035596BA15C0CEA82421F045DAF380F7E860C2A.pygtex)
\openout3 = `all_study_guide.pyg'.
(./_minted-all_study_guide/57EC26033360CCD3724E8AF51E1F98CCF2CA81E7B26B3986E5291D03C014E77B.pygtex)
Underfull \hbox (badness 10000) in paragraph at lines 369--371
(./_minted-all_study_guide/57EC26033360CCD3724E8AF51E1F98CCF2CA81E7B26B3986E5291D03C014E77B.pygtex)
Underfull \hbox (badness 10000) in paragraph at lines 375--377
[]
......@@ -855,10 +822,10 @@ Underfull \hbox (badness 10000) in paragraph at lines 369--371
(./_minted-all_study_guide/77C0832C8BCB2A6A98117AFCECBE18C9F2CA81E7B26B3986E5291D03C014E77B.pygtex)
\openout3 = `all_study_guide.pyg'.
(./_minted-all_study_guide/344390A64555B36245F4806596BE054FF2CA81E7B26B3986E5291D03C014E77B.pygtex)
(./_minted-all_study_guide/344390A64555B36245F4806596BE054FF2CA81E7B26B3986E5291D03C014E77B.pygtex) [9]
\openout3 = `all_study_guide.pyg'.
(./_minted-all_study_guide/BC7CBEA733FDC071906554D63AC80FA1F2CA81E7B26B3986E5291D03C014E77B.pygtex [9])
(./_minted-all_study_guide/BC7CBEA733FDC071906554D63AC80FA1F2CA81E7B26B3986E5291D03C014E77B.pygtex)
\openout3 = `all_study_guide.pyg'.
(./_minted-all_study_guide/6503A0D437DF0FAAFAFD7D5C90521B4CF2CA81E7B26B3986E5291D03C014E77B.pygtex)
......@@ -882,10 +849,10 @@ Underfull \hbox (badness 10000) in paragraph at lines 369--371
(./_minted-all_study_guide/2EEB3A010C71E706DCBB719B2551C060465A516120F3196FA8E2CA26C46A5C64.pygtex)
\openout5 = `all_study_guide.pyg'.
(./_minted-all_study_guide/F95EEB5DBC5CAC0C96CDFF57347261BB465A516120F3196FA8E2CA26C46A5C64.pygtex)
(./_minted-all_study_guide/F95EEB5DBC5CAC0C96CDFF57347261BB465A516120F3196FA8E2CA26C46A5C64.pygtex) [12]
\openout3 = `all_study_guide.pyg'.
(./_minted-all_study_guide/CEBB2E4153930A8AB1FA44928D66F94CA15C0CEA82421F045DAF380F7E860C2A.pygtex [12])
(./_minted-all_study_guide/CEBB2E4153930A8AB1FA44928D66F94CA15C0CEA82421F045DAF380F7E860C2A.pygtex)
\openout3 = `all_study_guide.pyg'.
(./_minted-all_study_guide/5B8FDFBCF96E776350835B2A51C36EEBF2CA81E7B26B3986E5291D03C014E77B.pygtex)
......@@ -895,7 +862,7 @@ Underfull \hbox (badness 10000) in paragraph at lines 369--371
\openout3 = `all_study_guide.pyg'.
(./_minted-all_study_guide/EE2D7538D96D4B5E2BC4B913B41FC366465A516120F3196FA8E2CA26C46A5C64.pygtex) [14]
Overfull \hbox (5.08403pt too wide) in paragraph at lines 571--574
Overfull \hbox (5.08403pt too wide) in paragraph at lines 577--580
\OT1/cmr/m/n/10 Call-by-value means that ev-ery-thing is copied upon en-ter-ing a func-tion.Languages
[]
......@@ -904,17 +871,7 @@ Overfull \hbox (5.08403pt too wide) in paragraph at lines 571--574
(./_minted-all_study_guide/3B10F88D8DCED974CDD9946B53C2D9666CD81CFDCB5F0793F497D493F610EBFB.pygtex)
\openout3 = `all_study_guide.pyg'.
(./_minted-all_study_guide/874C30DABB4D3006287318F54AA39D80465A516120F3196FA8E2CA26C46A5C64.pygtex [15])
./all_study_guide.tex:604: Undefined control sequence.
l.604 ...Also, there is a weird phenomenon with \?
, where ArrayList<Point> f...
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
[16]
(./_minted-all_study_guide/874C30DABB4D3006287318F54AA39D80465A516120F3196FA8E2CA26C46A5C64.pygtex [15]) [16]
\openout3 = `all_study_guide.pyg'.
(./_minted-all_study_guide/75C03D82507A67BD7A35CA65A1C45809465A516120F3196FA8E2CA26C46A5C64.pygtex) [17] (./all_study_guide.aux)
......@@ -922,15 +879,15 @@ runsystem(rm all_study_guide.pyg)...executed.
)
Here is how much of TeX's memory you used:
6884 strings out of 492982
124388 string characters out of 6138579
223416 words of memory out of 5000000
10229 multiletter control sequences out of 15000+600000
6891 strings out of 492982
125065 string characters out of 6138579
224100 words of memory out of 5000000
10230 multiletter control sequences out of 15000+600000
6175 words of font info for 23 fonts, out of 8000000 for 9000
1141 hyphenation exceptions out of 8191
37i,5n,35p,857b,339s stack positions out of 5000i,500n,10000p,200000b,80000s
37i,5n,35p,857b,342s stack positions out of 5000i,500n,10000p,200000b,80000s
{/usr/share/texmf-dist/fonts/enc/dvips/cm-super/cm-super-ts1.enc}</usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmitt10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmti10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmtt10.pfb></usr/share/texmf-dist/fonts/type1/public/cm-super/sfrm1000.pfb>
Output written on all_study_guide.pdf (17 pages, 148002 bytes).
Output written on all_study_guide.pdf (17 pages, 148552 bytes).
PDF statistics:
96 PDF objects out of 1000 (max. 8388607)
67 compressed objects within 1 object stream
......
No preview for this file type
......@@ -332,7 +332,13 @@ All three are ways of capturing the environment on definition. However, the lexi
@arr.each(&blk) #Reference to block
end
end
\end{minted}
The \& actually refers to a function reference. If we want to call it, we use .call:
\begin{minted}{ruby}
def weird_function_call(&p)
return p.call
end
\end{minted}
\subsection{Other semi-important things}
\begin{itemize}
......@@ -601,7 +607,7 @@ We don't need to specify the types of the map twice, since it is obvious from th
c.add(i,"clam");
}
\end{minted}
Also, there is a weird phenomenon with \?, where ArrayList<Point> for example, is a subclass of ArrayList<?>.
Also, there is a weird phenomenon with ?, where ArrayList $\langle$ Point $\rangle$ for example, is a subclass of ArrayList $\langle$ ? $\rangle$.
\subsection{Coercion}
Type coercion is where you can make a type act like another for the purpose of performing different actions - for example,
when you add an int and a float, you coerce the int to the float type. In Ruby, this is done explicitly with the
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment