Commit 9098458a authored by Gautham Velchuru's avatar Gautham Velchuru
Browse files

added more to everything

parent 5fda378a
\begin{Verbatim}[commandchars=\\\{\}]
\PYG{k}{class} \PYG{n+nc}{Class1}
\PYG{k}{def} \PYG{n+nf}{seacreatures}
\PYG{o}{[}\PYG{l+s+s2}{\PYGZdq{}octopus\PYGZdq{}}\PYG{o}{]} \PYG{o}{+} \PYG{n}{others}
\PYG{k}{end}
\PYG{k}{def} \PYG{n+nf}{others}
\PYG{o}{[}\PYG{l+s+s2}{\PYGZdq{}squid\PYGZdq{}}\PYG{o}{]}
\PYG{k}{end}
\PYG{k}{end}
\PYG{k}{module} \PYG{n+nn}{M1}
\PYG{k}{def} \PYG{n+nf}{seacreatures}
\PYG{o}{[}\PYG{l+s+s2}{\PYGZdq{}clam\PYGZdq{}}\PYG{o}{]} \PYG{o}{+} \PYG{k}{super}
\PYG{k}{end}
\PYG{k}{end}
\PYG{k}{module} \PYG{n+nn}{M2}
\PYG{k}{def} \PYG{n+nf}{others}
\PYG{o}{[}\PYG{l+s+s2}{\PYGZdq{}oyster\PYGZdq{}}\PYG{o}{]}
\PYG{k}{end}
\PYG{k}{end}
\PYG{k}{class} \PYG{n+nc}{Class2} \PYG{o}{\PYGZlt{}} \PYG{n+no}{Class1}
\PYG{k+kp}{include} \PYG{n+no}{M1}
\PYG{k}{end}
\PYG{k}{class} \PYG{n+nc}{Class3} \PYG{o}{\PYGZlt{}} \PYG{n+no}{Class1}
\PYG{k+kp}{include} \PYG{n+no}{M1}\PYG{p}{,} \PYG{n+no}{M2}
\PYG{k}{end}
\end{Verbatim}
\begin{Verbatim}[commandchars=\\\{\}]
\PYG{n}{eval} \PYG{p}{(}\PYG{k+kt}{OctoList} \PYG{p}{(}\PYG{k+kt}{OctoSymbol} \PYG{l+s}{\PYGZdq{}or\PYGZdq{}}\PYG{k+kt}{:} \PYG{n}{args}\PYG{p}{))} \PYG{n}{env} \PYG{o+ow}{=} \PYG{n}{eval\PYGZus{}args} \PYG{n}{args} \PYG{n}{env}
\PYG{n}{eval\PYGZus{}args} \PYG{k+kt}{[]} \PYG{n}{env} \PYG{o+ow}{=} \PYG{k+kt}{OctoBool} \PYG{k+kt}{False}
\PYG{n}{eval\PYGZus{}args}\PYG{p}{(}\PYG{n}{x}\PYG{k+kt}{:}\PYG{n}{xs}\PYG{p}{)} \PYG{n}{env} \PYG{o+ow}{=}
\PYG{k+kr}{let} \PYG{n}{first} \PYG{o+ow}{=} \PYG{n}{eval} \PYG{n}{x} \PYG{n}{env} \PYG{k+kr}{in}
\PYG{k+kr}{if} \PYG{n}{first} \PYG{o}{==} \PYG{k+kt}{OctoBool} \PYG{k+kt}{False}
\PYG{k+kr}{then} \PYG{n}{eval\PYGZus{}args} \PYG{n}{xs} \PYG{n}{env}
\PYG{k+kr}{else} \PYG{n}{first}
\PYG{c+c1}{\PYGZhy{}\PYGZhy{} or}
\PYG{n}{eval\PYGZus{}args}\PYG{p}{(}\PYG{n}{x}\PYG{k+kt}{:}\PYG{n}{xs}\PYG{p}{)} \PYG{n}{env} \PYG{o+ow}{=}
\PYG{o}{|} \PYG{n}{first} \PYG{o}{==} \PYG{k+kt}{OctoBool} \PYG{k+kt}{False} \PYG{o+ow}{\PYGZhy{}\PYGZgt{}} \PYG{n}{eval\PYGZus{}args} \PYG{n}{xs} \PYG{n}{env}
\PYG{o}{|} \PYG{n}{otherwise} \PYG{n}{first}
\PYG{k+kr}{where} \PYG{n}{first} \PYG{o+ow}{=} \PYG{n}{eval} \PYG{n}{x} \PYG{n}{env}
\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}
\begin{Verbatim}[commandchars=\\\{\}]
\PYG{c+c1}{;; the \PYGZsh{}:transparent keyword tells Racket to print out the fields of}
\PYG{c+c1}{;; the struct when you print it}
\PYG{p}{(}\PYG{k}{struct} \PYG{n}{point} \PYG{p}{(}\PYG{n}{x} \PYG{n}{y}\PYG{p}{)} \PYG{k+kd}{\PYGZsh{}:transparent} \PYG{k+kd}{\PYGZsh{}:mutable}\PYG{p}{)}
\PYG{p}{(}\PYG{n+nb}{display} \PYG{p}{(}\PYG{n}{point} \PYG{l+m+mi}{10} \PYG{l+m+mi}{0}\PYG{p}{))}
\PYG{c+c1}{;; this gets printed as \PYGZsh{}(struct:point 10 0)}
\end{Verbatim}
\relax
\@writefile{toc}{\contentsline {section}{\numberline {1}Prolog}{1}}
\@writefile{toc}{\contentsline {subsection}{\numberline {1.1}clpfd}{1}}
\@writefile{toc}{\contentsline {subsection}{\numberline {1.2}clpr, more advanced list rule}{1}}
\@writefile{toc}{\contentsline {section}{\numberline {2}Ruby}{1}}
\@writefile{toc}{\contentsline {subsection}{\numberline {2.1}Syntactic Sugar}{1}}
\@writefile{toc}{\contentsline {subsection}{\numberline {2.2}Example using class variables, overriding, and hashes}{1}}
\@writefile{toc}{\contentsline {subsection}{\numberline {2.3}Blocks, procs, lambdas}{2}}
\@writefile{toc}{\contentsline {section}{\numberline {3}Haskell}{2}}
\@writefile{toc}{\contentsline {subsection}{\numberline {3.1}Call-By}{2}}
\@writefile{toc}{\contentsline {section}{\numberline {4}Java}{2}}
\@writefile{toc}{\contentsline {subsection}{\numberline {4.1}Generics, subtyping, etc}{2}}
\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.1}Arrays}{2}}
\@writefile{toc}{\contentsline {subsection}{\numberline {4.2}Wildcards}{3}}
\@writefile{toc}{\contentsline {section}{\numberline {1}Racket}{1}}
\@writefile{toc}{\contentsline {subsection}{\numberline {1.1}Bools}{1}}
\@writefile{toc}{\contentsline {subsection}{\numberline {1.2}Structs}{1}}
\@writefile{toc}{\contentsline {subsubsection}{\numberline {1.2.1}Printing}{1}}
\@writefile{toc}{\contentsline {subsubsection}{\numberline {1.2.2}Properties}{1}}
\@writefile{toc}{\contentsline {section}{\numberline {2}Prolog}{1}}
\@writefile{toc}{\contentsline {subsection}{\numberline {2.1}Multiple answers}{1}}
\@writefile{toc}{\contentsline {subsection}{\numberline {2.2}clpfd}{1}}
\@writefile{toc}{\contentsline {subsection}{\numberline {2.3}clpr, more advanced list rule}{2}}
\@writefile{toc}{\contentsline {section}{\numberline {3}Ruby}{2}}
\@writefile{toc}{\contentsline {subsection}{\numberline {3.1}Syntactic Sugar}{2}}
\@writefile{toc}{\contentsline {subsection}{\numberline {3.2}Example using class variables, overriding, and hashes}{2}}
\@writefile{toc}{\contentsline {subsection}{\numberline {3.3}Blocks, procs, lambdas}{2}}
\@writefile{toc}{\contentsline {subsection}{\numberline {3.4}Inheritance}{3}}
\@writefile{toc}{\contentsline {subsection}{\numberline {3.5}Other semi-important things}{3}}
\@writefile{toc}{\contentsline {section}{\numberline {4}Haskell}{4}}
\@writefile{toc}{\contentsline {subsection}{\numberline {4.1}Call-By}{4}}
\@writefile{toc}{\contentsline {subsection}{\numberline {4.2}Static typing}{4}}
\@writefile{toc}{\contentsline {subsection}{\numberline {4.3}Let/Where}{4}}
\@writefile{toc}{\contentsline {section}{\numberline {5}Java}{5}}
\@writefile{toc}{\contentsline {subsection}{\numberline {5.1}Generics, subtyping, etc}{5}}
\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.1.1}Arrays}{5}}
\@writefile{toc}{\contentsline {subsection}{\numberline {5.2}Wildcards}{5}}
\gdef\minted@oldcachelist{,
default-pyg-prefix.pygstyle,
default.pygstyle,
E3B732DDE840FC16773250F77F310BC04760FA0D46E6ABB3BDF61BCAA500EF4C.pygtex,
2963A23D45F46549918EDF3D70E4CF9A4760FA0D46E6ABB3BDF61BCAA500EF4C.pygtex,
E52FDF8B16A930D9CB0D715D43B382B6A15C0CEA82421F045DAF380F7E860C2A.pygtex,
9D438906527FBE7B7EFB20FB20502428A15C0CEA82421F045DAF380F7E860C2A.pygtex,
EE396F4F7DDCDDD92E3D7FB81D4371F3A15C0CEA82421F045DAF380F7E860C2A.pygtex,
87BA332A2091250B02A456556DB5A659F2CA81E7B26B3986E5291D03C014E77B.pygtex,
F6F9C282D0607C1297F7BD79058D6E2B465A516120F3196FA8E2CA26C46A5C64.pygtex,
2EEB3A010C71E706DCBB719B2551C060465A516120F3196FA8E2CA26C46A5C64.pygtex,
F95EEB5DBC5CAC0C96CDFF57347261BB465A516120F3196FA8E2CA26C46A5C64.pygtex}
\@writefile{toc}{\contentsline {section}{\numberline {5}General Concepts}{4}}
72C1057BAD3ADC9B2A3254865F6027FF.pygtex,
C628629981CF55D032F3C98601789CD4D33F5A877DB1AF49890DD2495A2B2021.pygtex,
E3B732DDE840FC16773250F77F310BC0DB87068ADF79CDCF84312BB9FF189355.pygtex,
2963A23D45F46549918EDF3D70E4CF9ADB87068ADF79CDCF84312BB9FF189355.pygtex,
E52FDF8B16A930D9CB0D715D43B382B6F1F23DCF748988B03E34A24BA5282B82.pygtex,
9D438906527FBE7B7EFB20FB20502428F1F23DCF748988B03E34A24BA5282B82.pygtex,
EE396F4F7DDCDDD92E3D7FB81D4371F3F1F23DCF748988B03E34A24BA5282B82.pygtex,
4AF490FEA182ADBF31D67A1B254CF9DFF1F23DCF748988B03E34A24BA5282B82.pygtex,
A56864D158370C50A61A8B40BF593B7AF1F23DCF748988B03E34A24BA5282B82.pygtex,
87BA332A2091250B02A456556DB5A6596F6B7FA5EE8EA4AC82C8E3C74C760408.pygtex,
72D37D2B01BA483F7A5BD40BD6BB278E6F6B7FA5EE8EA4AC82C8E3C74C760408.pygtex,
F6F9C282D0607C1297F7BD79058D6E2BE04FAC3F4FD90B26ADE88A1E706A08A2.pygtex,
2EEB3A010C71E706DCBB719B2551C060E04FAC3F4FD90B26ADE88A1E706A08A2.pygtex,
F95EEB5DBC5CAC0C96CDFF57347261BBE04FAC3F4FD90B26ADE88A1E706A08A2.pygtex}
\@writefile{toc}{\contentsline {section}{\numberline {6}General Concepts}{6}}
\@writefile{toc}{\contentsline {subsection}{\numberline {6.1}Pointer stuff}{6}}
\@writefile{toc}{\contentsline {subsection}{\numberline {6.2}Type variance}{6}}
# Fdb version 3
["pdflatex"] 1527813862 "all_study_guide.tex" "all_study_guide.pdf" "all_study_guide" 1527813863
["pdflatex"] 1527834190 "all_study_guide.tex" "all_study_guide.pdf" "all_study_guide" 1527834190
"/dev/null" 1527785117 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 ""
......@@ -61,24 +61,28 @@
"/usr/share/texmf/tex/latex/minted/minted.sty" 1504428290 47165 6a3e43a8d03bd86910a1dbf68d6c3645 ""
"/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map" 1527807927 334286 7d54d57af850f32d2e4cd0d3222731c3 ""
"/var/lib/texmf/web2c/pdftex/pdflatex.fmt" 1525580140 7738160 cecf5c8a2a1880714884cc32d352f09b ""
"_minted-all_study_guide/2963A23D45F46549918EDF3D70E4CF9A4760FA0D46E6ABB3BDF61BCAA500EF4C.pygtex" 1527813862 474 cb32fefdd9d9bfca3cb5585bf144f880 ""
"_minted-all_study_guide/2EEB3A010C71E706DCBB719B2551C060465A516120F3196FA8E2CA26C46A5C64.pygtex" 1527809144 1793 fc748dcaac83c6642f8e03774e669883 ""
"_minted-all_study_guide/87BA332A2091250B02A456556DB5A659F2CA81E7B26B3986E5291D03C014E77B.pygtex" 1527808323 403 31c11736f7cdcf21c11b4a38db52a9ab ""
"_minted-all_study_guide/9D438906527FBE7B7EFB20FB20502428A15C0CEA82421F045DAF380F7E860C2A.pygtex" 1527808043 813 0ffaa085abd1b720632cb33c0b77e89b ""
"_minted-all_study_guide/E3B732DDE840FC16773250F77F310BC04760FA0D46E6ABB3BDF61BCAA500EF4C.pygtex" 1527807958 631 449e2d950049eb1ab6bc4b175533c26b ""
"_minted-all_study_guide/E52FDF8B16A930D9CB0D715D43B382B6A15C0CEA82421F045DAF380F7E860C2A.pygtex" 1527807958 288 ab6c94f8baf440473d0248193384269f ""
"_minted-all_study_guide/EE396F4F7DDCDDD92E3D7FB81D4371F3A15C0CEA82421F045DAF380F7E860C2A.pygtex" 1527808347 371 52f3a09319232a02e8d58bcf2bd5ce9a ""
"_minted-all_study_guide/F6F9C282D0607C1297F7BD79058D6E2B465A516120F3196FA8E2CA26C46A5C64.pygtex" 1527808809 1512 73d62f911fadd899143b66355ecdf243 ""
"_minted-all_study_guide/F95EEB5DBC5CAC0C96CDFF57347261BB465A516120F3196FA8E2CA26C46A5C64.pygtex" 1527809263 124 747eb20f747e7bf77c70b95443fbc5e9 ""
"_minted-all_study_guide/2963A23D45F46549918EDF3D70E4CF9ADB87068ADF79CDCF84312BB9FF189355.pygtex" 1527833801 474 cb32fefdd9d9bfca3cb5585bf144f880 ""
"_minted-all_study_guide/2EEB3A010C71E706DCBB719B2551C060E04FAC3F4FD90B26ADE88A1E706A08A2.pygtex" 1527833803 1793 fc748dcaac83c6642f8e03774e669883 ""
"_minted-all_study_guide/4AF490FEA182ADBF31D67A1B254CF9DFF1F23DCF748988B03E34A24BA5282B82.pygtex" 1527833802 1100 2626d5fe6a1fb1f7d79fa8b6fbf8f9df ""
"_minted-all_study_guide/72D37D2B01BA483F7A5BD40BD6BB278E6F6B7FA5EE8EA4AC82C8E3C74C760408.pygtex" 1527833803 1303 97e14fe839e2162da54266c4b22e53ce ""
"_minted-all_study_guide/87BA332A2091250B02A456556DB5A6596F6B7FA5EE8EA4AC82C8E3C74C760408.pygtex" 1527833802 403 31c11736f7cdcf21c11b4a38db52a9ab ""
"_minted-all_study_guide/9D438906527FBE7B7EFB20FB20502428F1F23DCF748988B03E34A24BA5282B82.pygtex" 1527833802 813 0ffaa085abd1b720632cb33c0b77e89b ""
"_minted-all_study_guide/A56864D158370C50A61A8B40BF593B7AF1F23DCF748988B03E34A24BA5282B82.pygtex" 1527833802 250 6e4f5848cb69f08a2d83f04e2f7873f1 ""
"_minted-all_study_guide/C628629981CF55D032F3C98601789CD4D33F5A877DB1AF49890DD2495A2B2021.pygtex" 1527833905 547 6a3b63aeeac14750d97e1c7f39e2b4c0 ""
"_minted-all_study_guide/E3B732DDE840FC16773250F77F310BC0DB87068ADF79CDCF84312BB9FF189355.pygtex" 1527833801 631 449e2d950049eb1ab6bc4b175533c26b ""
"_minted-all_study_guide/E52FDF8B16A930D9CB0D715D43B382B6F1F23DCF748988B03E34A24BA5282B82.pygtex" 1527833801 288 ab6c94f8baf440473d0248193384269f ""
"_minted-all_study_guide/EE396F4F7DDCDDD92E3D7FB81D4371F3F1F23DCF748988B03E34A24BA5282B82.pygtex" 1527833802 371 52f3a09319232a02e8d58bcf2bd5ce9a ""
"_minted-all_study_guide/F6F9C282D0607C1297F7BD79058D6E2BE04FAC3F4FD90B26ADE88A1E706A08A2.pygtex" 1527833803 1512 73d62f911fadd899143b66355ecdf243 ""
"_minted-all_study_guide/F95EEB5DBC5CAC0C96CDFF57347261BBE04FAC3F4FD90B26ADE88A1E706A08A2.pygtex" 1527833803 124 747eb20f747e7bf77c70b95443fbc5e9 ""
"_minted-all_study_guide/default-pyg-prefix.pygstyle" 1527807957 7889 3ce1fbc763e3e2c748310f4fe31722b6 ""
"_minted-all_study_guide/default.pygstyle" 1527807957 9275 f200be7fc0b7de2461cca28cb35b1427 ""
"all_study_guide.aex" 0 -1 0 ""
"all_study_guide.aux" 1527813862 1887 86d3cb716f8bea68ab7357667854666a ""
"all_study_guide.aux" 1527834003 3097 5a1a11e5f3a990f0912ad5502cd6125c ""
"all_study_guide.pyg" 0 -1 0 ""
"all_study_guide.tex" 1527813860 4880 8fdcc76f0a276ea60a472b90c7ba40a3 ""
"all_study_guide.tex" 1527834189 8993 c8d976ae7aaa68637f3b5f1a648c8bca ""
"all_study_guide.w18" 0 -1 0 ""
(generated)
"all_study_guide.aux"
"all_study_guide.pdf"
"all_study_guide.log"
"all_study_guide.pyg"
"all_study_guide.pdf"
......@@ -99,7 +99,9 @@ INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmr12.tfm
INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmbx12.tfm
INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmr12.tfm
INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmbx12.tfm
OUTPUT all_study_guide.pyg
INPUT /usr/share/texmf-dist/tex/latex/base/ts1cmr.fd
INPUT /usr/share/texmf-dist/tex/latex/base/ts1cmr.fd
INPUT /usr/share/texmf-dist/fonts/tfm/jknappen/ec/tcrm1000.tfm
INPUT _minted-all_study_guide/default-pyg-prefix.pygstyle
INPUT _minted-all_study_guide/default-pyg-prefix.pygstyle
INPUT _minted-all_study_guide/default-pyg-prefix.pygstyle
......@@ -108,66 +110,88 @@ INPUT _minted-all_study_guide/default.pygstyle
INPUT _minted-all_study_guide/default.pygstyle
INPUT _minted-all_study_guide/default.pygstyle
INPUT _minted-all_study_guide/default.pygstyle
INPUT ./all_study_guide.pyg
INPUT _minted-all_study_guide/E3B732DDE840FC16773250F77F310BC04760FA0D46E6ABB3BDF61BCAA500EF4C.pygtex
INPUT _minted-all_study_guide/E3B732DDE840FC16773250F77F310BC04760FA0D46E6ABB3BDF61BCAA500EF4C.pygtex
INPUT _minted-all_study_guide/E3B732DDE840FC16773250F77F310BC04760FA0D46E6ABB3BDF61BCAA500EF4C.pygtex
INPUT _minted-all_study_guide/E3B732DDE840FC16773250F77F310BC04760FA0D46E6ABB3BDF61BCAA500EF4C.pygtex
INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmbx10.tfm
OUTPUT all_study_guide.pyg
INPUT ./all_study_guide.pyg
INPUT _minted-all_study_guide/2963A23D45F46549918EDF3D70E4CF9A4760FA0D46E6ABB3BDF61BCAA500EF4C.pygtex
INPUT _minted-all_study_guide/2963A23D45F46549918EDF3D70E4CF9A4760FA0D46E6ABB3BDF61BCAA500EF4C.pygtex
INPUT _minted-all_study_guide/2963A23D45F46549918EDF3D70E4CF9A4760FA0D46E6ABB3BDF61BCAA500EF4C.pygtex
INPUT _minted-all_study_guide/2963A23D45F46549918EDF3D70E4CF9A4760FA0D46E6ABB3BDF61BCAA500EF4C.pygtex
INPUT _minted-all_study_guide/C628629981CF55D032F3C98601789CD4D33F5A877DB1AF49890DD2495A2B2021.pygtex
INPUT _minted-all_study_guide/C628629981CF55D032F3C98601789CD4D33F5A877DB1AF49890DD2495A2B2021.pygtex
INPUT _minted-all_study_guide/C628629981CF55D032F3C98601789CD4D33F5A877DB1AF49890DD2495A2B2021.pygtex
INPUT _minted-all_study_guide/C628629981CF55D032F3C98601789CD4D33F5A877DB1AF49890DD2495A2B2021.pygtex
INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmitt10.tfm
OUTPUT all_study_guide.pyg
INPUT ./all_study_guide.pyg
INPUT _minted-all_study_guide/E52FDF8B16A930D9CB0D715D43B382B6A15C0CEA82421F045DAF380F7E860C2A.pygtex
INPUT _minted-all_study_guide/E52FDF8B16A930D9CB0D715D43B382B6A15C0CEA82421F045DAF380F7E860C2A.pygtex
INPUT _minted-all_study_guide/E52FDF8B16A930D9CB0D715D43B382B6A15C0CEA82421F045DAF380F7E860C2A.pygtex
INPUT _minted-all_study_guide/E52FDF8B16A930D9CB0D715D43B382B6A15C0CEA82421F045DAF380F7E860C2A.pygtex
INPUT _minted-all_study_guide/E3B732DDE840FC16773250F77F310BC0DB87068ADF79CDCF84312BB9FF189355.pygtex
INPUT _minted-all_study_guide/E3B732DDE840FC16773250F77F310BC0DB87068ADF79CDCF84312BB9FF189355.pygtex
INPUT _minted-all_study_guide/E3B732DDE840FC16773250F77F310BC0DB87068ADF79CDCF84312BB9FF189355.pygtex
INPUT _minted-all_study_guide/E3B732DDE840FC16773250F77F310BC0DB87068ADF79CDCF84312BB9FF189355.pygtex
OUTPUT all_study_guide.pyg
INPUT ./all_study_guide.pyg
INPUT _minted-all_study_guide/9D438906527FBE7B7EFB20FB20502428A15C0CEA82421F045DAF380F7E860C2A.pygtex
INPUT _minted-all_study_guide/9D438906527FBE7B7EFB20FB20502428A15C0CEA82421F045DAF380F7E860C2A.pygtex
INPUT _minted-all_study_guide/9D438906527FBE7B7EFB20FB20502428A15C0CEA82421F045DAF380F7E860C2A.pygtex
INPUT _minted-all_study_guide/9D438906527FBE7B7EFB20FB20502428A15C0CEA82421F045DAF380F7E860C2A.pygtex
INPUT _minted-all_study_guide/2963A23D45F46549918EDF3D70E4CF9ADB87068ADF79CDCF84312BB9FF189355.pygtex
INPUT _minted-all_study_guide/2963A23D45F46549918EDF3D70E4CF9ADB87068ADF79CDCF84312BB9FF189355.pygtex
INPUT _minted-all_study_guide/2963A23D45F46549918EDF3D70E4CF9ADB87068ADF79CDCF84312BB9FF189355.pygtex
INPUT _minted-all_study_guide/2963A23D45F46549918EDF3D70E4CF9ADB87068ADF79CDCF84312BB9FF189355.pygtex
OUTPUT all_study_guide.pdf
INPUT /var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map
OUTPUT all_study_guide.pyg
INPUT ./all_study_guide.pyg
INPUT _minted-all_study_guide/EE396F4F7DDCDDD92E3D7FB81D4371F3A15C0CEA82421F045DAF380F7E860C2A.pygtex
INPUT _minted-all_study_guide/EE396F4F7DDCDDD92E3D7FB81D4371F3A15C0CEA82421F045DAF380F7E860C2A.pygtex
INPUT _minted-all_study_guide/EE396F4F7DDCDDD92E3D7FB81D4371F3A15C0CEA82421F045DAF380F7E860C2A.pygtex
INPUT _minted-all_study_guide/EE396F4F7DDCDDD92E3D7FB81D4371F3A15C0CEA82421F045DAF380F7E860C2A.pygtex
INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmitt10.tfm
INPUT _minted-all_study_guide/E52FDF8B16A930D9CB0D715D43B382B6F1F23DCF748988B03E34A24BA5282B82.pygtex
INPUT _minted-all_study_guide/E52FDF8B16A930D9CB0D715D43B382B6F1F23DCF748988B03E34A24BA5282B82.pygtex
INPUT _minted-all_study_guide/E52FDF8B16A930D9CB0D715D43B382B6F1F23DCF748988B03E34A24BA5282B82.pygtex
INPUT _minted-all_study_guide/E52FDF8B16A930D9CB0D715D43B382B6F1F23DCF748988B03E34A24BA5282B82.pygtex
OUTPUT all_study_guide.pyg
INPUT ./all_study_guide.pyg
INPUT _minted-all_study_guide/87BA332A2091250B02A456556DB5A659F2CA81E7B26B3986E5291D03C014E77B.pygtex
INPUT _minted-all_study_guide/87BA332A2091250B02A456556DB5A659F2CA81E7B26B3986E5291D03C014E77B.pygtex
INPUT _minted-all_study_guide/87BA332A2091250B02A456556DB5A659F2CA81E7B26B3986E5291D03C014E77B.pygtex
INPUT _minted-all_study_guide/87BA332A2091250B02A456556DB5A659F2CA81E7B26B3986E5291D03C014E77B.pygtex
INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmbx10.tfm
INPUT _minted-all_study_guide/9D438906527FBE7B7EFB20FB20502428F1F23DCF748988B03E34A24BA5282B82.pygtex
INPUT _minted-all_study_guide/9D438906527FBE7B7EFB20FB20502428F1F23DCF748988B03E34A24BA5282B82.pygtex
INPUT _minted-all_study_guide/9D438906527FBE7B7EFB20FB20502428F1F23DCF748988B03E34A24BA5282B82.pygtex
INPUT _minted-all_study_guide/9D438906527FBE7B7EFB20FB20502428F1F23DCF748988B03E34A24BA5282B82.pygtex
OUTPUT all_study_guide.pyg
INPUT ./all_study_guide.pyg
INPUT _minted-all_study_guide/F6F9C282D0607C1297F7BD79058D6E2B465A516120F3196FA8E2CA26C46A5C64.pygtex
INPUT _minted-all_study_guide/F6F9C282D0607C1297F7BD79058D6E2B465A516120F3196FA8E2CA26C46A5C64.pygtex
INPUT _minted-all_study_guide/F6F9C282D0607C1297F7BD79058D6E2B465A516120F3196FA8E2CA26C46A5C64.pygtex
INPUT _minted-all_study_guide/F6F9C282D0607C1297F7BD79058D6E2B465A516120F3196FA8E2CA26C46A5C64.pygtex
INPUT _minted-all_study_guide/EE396F4F7DDCDDD92E3D7FB81D4371F3F1F23DCF748988B03E34A24BA5282B82.pygtex
INPUT _minted-all_study_guide/EE396F4F7DDCDDD92E3D7FB81D4371F3F1F23DCF748988B03E34A24BA5282B82.pygtex
INPUT _minted-all_study_guide/EE396F4F7DDCDDD92E3D7FB81D4371F3F1F23DCF748988B03E34A24BA5282B82.pygtex
INPUT _minted-all_study_guide/EE396F4F7DDCDDD92E3D7FB81D4371F3F1F23DCF748988B03E34A24BA5282B82.pygtex
OUTPUT all_study_guide.pyg
INPUT ./all_study_guide.pyg
INPUT _minted-all_study_guide/2EEB3A010C71E706DCBB719B2551C060465A516120F3196FA8E2CA26C46A5C64.pygtex
INPUT _minted-all_study_guide/2EEB3A010C71E706DCBB719B2551C060465A516120F3196FA8E2CA26C46A5C64.pygtex
INPUT _minted-all_study_guide/2EEB3A010C71E706DCBB719B2551C060465A516120F3196FA8E2CA26C46A5C64.pygtex
INPUT _minted-all_study_guide/2EEB3A010C71E706DCBB719B2551C060465A516120F3196FA8E2CA26C46A5C64.pygtex
INPUT _minted-all_study_guide/4AF490FEA182ADBF31D67A1B254CF9DFF1F23DCF748988B03E34A24BA5282B82.pygtex
INPUT _minted-all_study_guide/4AF490FEA182ADBF31D67A1B254CF9DFF1F23DCF748988B03E34A24BA5282B82.pygtex
INPUT _minted-all_study_guide/4AF490FEA182ADBF31D67A1B254CF9DFF1F23DCF748988B03E34A24BA5282B82.pygtex
INPUT _minted-all_study_guide/4AF490FEA182ADBF31D67A1B254CF9DFF1F23DCF748988B03E34A24BA5282B82.pygtex
OUTPUT all_study_guide.pyg
INPUT ./all_study_guide.pyg
INPUT _minted-all_study_guide/F95EEB5DBC5CAC0C96CDFF57347261BB465A516120F3196FA8E2CA26C46A5C64.pygtex
INPUT _minted-all_study_guide/F95EEB5DBC5CAC0C96CDFF57347261BB465A516120F3196FA8E2CA26C46A5C64.pygtex
INPUT _minted-all_study_guide/F95EEB5DBC5CAC0C96CDFF57347261BB465A516120F3196FA8E2CA26C46A5C64.pygtex
INPUT _minted-all_study_guide/F95EEB5DBC5CAC0C96CDFF57347261BB465A516120F3196FA8E2CA26C46A5C64.pygtex
INPUT /usr/share/texmf-dist/tex/latex/base/ts1cmr.fd
INPUT /usr/share/texmf-dist/tex/latex/base/ts1cmr.fd
INPUT /usr/share/texmf-dist/fonts/tfm/jknappen/ec/tcrm1000.tfm
INPUT _minted-all_study_guide/A56864D158370C50A61A8B40BF593B7AF1F23DCF748988B03E34A24BA5282B82.pygtex
INPUT _minted-all_study_guide/A56864D158370C50A61A8B40BF593B7AF1F23DCF748988B03E34A24BA5282B82.pygtex
INPUT _minted-all_study_guide/A56864D158370C50A61A8B40BF593B7AF1F23DCF748988B03E34A24BA5282B82.pygtex
INPUT _minted-all_study_guide/A56864D158370C50A61A8B40BF593B7AF1F23DCF748988B03E34A24BA5282B82.pygtex
OUTPUT all_study_guide.pyg
INPUT ./all_study_guide.pyg
INPUT _minted-all_study_guide/87BA332A2091250B02A456556DB5A6596F6B7FA5EE8EA4AC82C8E3C74C760408.pygtex
INPUT _minted-all_study_guide/87BA332A2091250B02A456556DB5A6596F6B7FA5EE8EA4AC82C8E3C74C760408.pygtex
INPUT _minted-all_study_guide/87BA332A2091250B02A456556DB5A6596F6B7FA5EE8EA4AC82C8E3C74C760408.pygtex
INPUT _minted-all_study_guide/87BA332A2091250B02A456556DB5A6596F6B7FA5EE8EA4AC82C8E3C74C760408.pygtex
OUTPUT all_study_guide.pyg
INPUT ./all_study_guide.pyg
INPUT _minted-all_study_guide/72D37D2B01BA483F7A5BD40BD6BB278E6F6B7FA5EE8EA4AC82C8E3C74C760408.pygtex
INPUT _minted-all_study_guide/72D37D2B01BA483F7A5BD40BD6BB278E6F6B7FA5EE8EA4AC82C8E3C74C760408.pygtex
INPUT _minted-all_study_guide/72D37D2B01BA483F7A5BD40BD6BB278E6F6B7FA5EE8EA4AC82C8E3C74C760408.pygtex
INPUT _minted-all_study_guide/72D37D2B01BA483F7A5BD40BD6BB278E6F6B7FA5EE8EA4AC82C8E3C74C760408.pygtex
OUTPUT all_study_guide.pyg
INPUT ./all_study_guide.pyg
INPUT _minted-all_study_guide/F6F9C282D0607C1297F7BD79058D6E2BE04FAC3F4FD90B26ADE88A1E706A08A2.pygtex
INPUT _minted-all_study_guide/F6F9C282D0607C1297F7BD79058D6E2BE04FAC3F4FD90B26ADE88A1E706A08A2.pygtex
INPUT _minted-all_study_guide/F6F9C282D0607C1297F7BD79058D6E2BE04FAC3F4FD90B26ADE88A1E706A08A2.pygtex
INPUT _minted-all_study_guide/F6F9C282D0607C1297F7BD79058D6E2BE04FAC3F4FD90B26ADE88A1E706A08A2.pygtex
OUTPUT all_study_guide.pyg
INPUT ./all_study_guide.pyg
INPUT _minted-all_study_guide/2EEB3A010C71E706DCBB719B2551C060E04FAC3F4FD90B26ADE88A1E706A08A2.pygtex
INPUT _minted-all_study_guide/2EEB3A010C71E706DCBB719B2551C060E04FAC3F4FD90B26ADE88A1E706A08A2.pygtex
INPUT _minted-all_study_guide/2EEB3A010C71E706DCBB719B2551C060E04FAC3F4FD90B26ADE88A1E706A08A2.pygtex
INPUT _minted-all_study_guide/2EEB3A010C71E706DCBB719B2551C060E04FAC3F4FD90B26ADE88A1E706A08A2.pygtex
OUTPUT all_study_guide.pyg
INPUT ./all_study_guide.pyg
INPUT _minted-all_study_guide/F95EEB5DBC5CAC0C96CDFF57347261BBE04FAC3F4FD90B26ADE88A1E706A08A2.pygtex
INPUT _minted-all_study_guide/F95EEB5DBC5CAC0C96CDFF57347261BBE04FAC3F4FD90B26ADE88A1E706A08A2.pygtex
INPUT _minted-all_study_guide/F95EEB5DBC5CAC0C96CDFF57347261BBE04FAC3F4FD90B26ADE88A1E706A08A2.pygtex
INPUT _minted-all_study_guide/F95EEB5DBC5CAC0C96CDFF57347261BBE04FAC3F4FD90B26ADE88A1E706A08A2.pygtex
INPUT all_study_guide.aux
INPUT all_study_guide.pyg
INPUT /usr/share/texmf-dist/fonts/enc/dvips/cm-super/cm-super-ts1.enc
......
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/Arch Linux) (preloaded format=pdflatex 2018.5.5) 31 MAY 2018 17:44
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/Arch Linux) (preloaded format=pdflatex 2018.5.5) 31 MAY 2018 23:23
entering extended mode
\write18 enabled.
file:line:error style messages enabled.
......@@ -703,62 +703,201 @@ Package textcomp Info: Setting ptmj sub-encoding to TS1/4 on input line 409.
\makeMPintoPDFobject=\count126
\everyMPtoPDFconversion=\toks23
)
LaTeX Font Info: Try loading font information for TS1+cmr on input line 10.
(/usr/share/texmf-dist/tex/latex/base/ts1cmr.fd
File: ts1cmr.fd 2014/09/29 v2.5h Standard LaTeX font definitions
)
./all_study_guide.tex:10: You can't use `macro parameter character #' in horizontal mode.
l.10 \item or with an empty list returns #
f
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.
./all_study_guide.tex:11: Undefined control sequence.
l.11 \items
and with an empty list returns #t
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.
./all_study_guide.tex:11: You can't use `macro parameter character #' in horizontal mode.
l.11 ... \items and with an empty list returns #
t
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.
./all_study_guide.tex:12: Undefined control sequence.
l.12 \items
or returns the first true thing or #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.
./all_study_guide.tex:12: You can't use `macro parameter character #' in horizontal mode.
l.12 ...items or returns the first true thing or #
f
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.
./all_study_guide.tex:14: Undefined control sequence.
l.14 \items
and returns the first false thing or #t
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.
./all_study_guide.tex:14: You can't use `macro parameter character #' in horizontal mode.
l.14 ...ems and returns the first false thing or #
t
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.
./all_study_guide.tex:15: Bad space factor (0).
<recently read> \@savsf
l.15 \end{minted}
I allow only values in the range 1..32767 here.
./all_study_guide.tex:15: LaTeX Error: \begin{document} ended by \end{VerbatimOut}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.15 \end{minted}
Your command was ignored.
Type I <command> <return> to replace it with another command,
or <return> to continue without it.
./all_study_guide.tex:15: Extra \endgroup.
<recently read> \endgroup
l.15 \end{minted}
Things are pretty mixed up, but I think the worst is over.
(./_minted-all_study_guide/default-pyg-prefix.pygstyle) (./_minted-all_study_guide/default.pygstyle)
runsystem(pygmentize -l php -f latex -P commandprefix=PYG -F tokenmerge -o _minted-all_study_guide/72C1057BAD3ADC9B2A3254865F6027FF.pygtex all_study_guide.pyg)...executed.
./all_study_guide.tex:15: Package minted Error: Missing Pygments output; \inputminted was
probably given a file that does not exist--otherwise, you may need
the outputdir package option, or may be using an incompatible build tool,
or may be using frozencache with a missing file.
See the minted package documentation for explanation.
Type H <return> for immediate help.
...
l.15 \end{minted}
This could be caused by using -output-directory or -aux-directory
without setting minted's outputdir, or by using a build tool that
changes paths in ways minted cannot detect,
or using frozencache with a missing file.
./all_study_guide.tex:15: LaTeX Error: \begin{document} ended by \end{minted}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.15 \end{minted}
Your command was ignored.
Type I <command> <return> to replace it with another command,
or <return> to continue without it.
./all_study_guide.tex:15: Extra \endgroup.
<recently read> \endgroup
l.15 \end{minted}
Things are pretty mixed up, but I think the worst is over.
\openout3 = `all_study_guide.pyg'.
(./_minted-all_study_guide/default-pyg-prefix.pygstyle) (./_minted-all_study_guide/default.pygstyle) (./_minted-all_study_guide/E3B732DDE840FC16773250F77F310BC04760FA0D46E6ABB3BDF61BCAA500EF4C.pygtex
(./_minted-all_study_guide/C628629981CF55D032F3C98601789CD4D33F5A877DB1AF49890DD2495A2B2021.pygtex
LaTeX Font Info: Font shape `OT1/cmtt/bx/n' in size <10> not available
(Font) Font shape `OT1/cmtt/m/n' tried instead on input line 2.
(Font) Font shape `OT1/cmtt/m/n' tried instead on input line 4.
)
\openout3 = `all_study_guide.pyg'.
(./_minted-all_study_guide/E3B732DDE840FC16773250F77F310BC0DB87068ADF79CDCF84312BB9FF189355.pygtex)
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <7> on input line 16.
(Font) <7> on input line 41.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <5> on input line 16.
(Font) <5> on input line 41.
\openout3 = `all_study_guide.pyg'.
(./_minted-all_study_guide/2963A23D45F46549918EDF3D70E4CF9ADB87068ADF79CDCF84312BB9FF189355.pygtex [1
{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}])
\openout3 = `all_study_guide.pyg'.
(./_minted-all_study_guide/2963A23D45F46549918EDF3D70E4CF9A4760FA0D46E6ABB3BDF61BCAA500EF4C.pygtex)
(./_minted-all_study_guide/E52FDF8B16A930D9CB0D715D43B382B6F1F23DCF748988B03E34A24BA5282B82.pygtex)
\openout3 = `all_study_guide.pyg'.
(./_minted-all_study_guide/E52FDF8B16A930D9CB0D715D43B382B6A15C0CEA82421F045DAF380F7E860C2A.pygtex)
(./_minted-all_study_guide/9D438906527FBE7B7EFB20FB20502428F1F23DCF748988B03E34A24BA5282B82.pygtex)
\openout3 = `all_study_guide.pyg'.
(./_minted-all_study_guide/9D438906527FBE7B7EFB20FB20502428A15C0CEA82421F045DAF380F7E860C2A.pygtex [1
(./_minted-all_study_guide/EE396F4F7DDCDDD92E3D7FB81D4371F3F1F23DCF748988B03E34A24BA5282B82.pygtex [2])
\openout3 = `all_study_guide.pyg'.
{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}])
(./_minted-all_study_guide/4AF490FEA182ADBF31D67A1B254CF9DFF1F23DCF748988B03E34A24BA5282B82.pygtex)
\openout3 = `all_study_guide.pyg'.
(./_minted-all_study_guide/EE396F4F7DDCDDD92E3D7FB81D4371F3A15C0CEA82421F045DAF380F7E860C2A.pygtex)
(./_minted-all_study_guide/A56864D158370C50A61A8B40BF593B7AF1F23DCF748988B03E34A24BA5282B82.pygtex [3])
\openout3 = `all_study_guide.pyg'.
(./_minted-all_study_guide/87BA332A2091250B02A456556DB5A659F2CA81E7B26B3986E5291D03C014E77B.pygtex)
(./_minted-all_study_guide/87BA332A2091250B02A456556DB5A6596F6B7FA5EE8EA4AC82C8E3C74C760408.pygtex)
\openout3 = `all_study_guide.pyg'.
(./_minted-all_study_guide/F6F9C282D0607C1297F7BD79058D6E2B465A516120F3196FA8E2CA26C46A5C64.pygtex [2])
(./_minted-all_study_guide/72D37D2B01BA483F7A5BD40BD6BB278E6F6B7FA5EE8EA4AC82C8E3C74C760408.pygtex)
\openout3 = `all_study_guide.pyg'.
(./_minted-all_study_guide/2EEB3A010C71E706DCBB719B2551C060465A516120F3196FA8E2CA26C46A5C64.pygtex)
(./_minted-all_study_guide/F6F9C282D0607C1297F7BD79058D6E2BE04FAC3F4FD90B26ADE88A1E706A08A2.pygtex [4])
\openout3 = `all_study_guide.pyg'.
(./_minted-all_study_guide/2EEB3A010C71E706DCBB719B2551C060E04FAC3F4FD90B26ADE88A1E706A08A2.pygtex [5])
\openout5 = `all_study_guide.pyg'.
(./_minted-all_study_guide/F95EEB5DBC5CAC0C96CDFF57347261BB465A516120F3196FA8E2CA26C46A5C64.pygtex) [3]
LaTeX Font Info: Try loading font information for TS1+cmr on input line 131.
(/usr/share/texmf-dist/tex/latex/base/ts1cmr.fd
File: ts1cmr.fd 2014/09/29 v2.5h Standard LaTeX font definitions
) [4] (./all_study_guide.aux)
(./_minted-all_study_guide/F95EEB5DBC5CAC0C96CDFF57347261BBE04FAC3F4FD90B26ADE88A1E706A08A2.pygtex) [6] (./all_study_guide.aux)
runsystem(rm all_study_guide.pyg)...executed.
)
Here is how much of TeX's memory you used:
6720 strings out of 492982
110927 string characters out of 6138580
215526 words of memory out of 5000000
10183 multiletter control sequences out of 15000+600000
6742 strings out of 492982
112488 string characters out of 6138580
215817 words of memory out of 5000000
10192 multiletter control sequences out of 15000+600000
5829 words of font info for 22 fonts, out of 8000000 for 9000
1141 hyphenation exceptions out of 8191
37i,5n,35p,857b,341s stack positions out of 5000i,500n,10000p,200000b,80000s
37i,5n,35p,857b,345s 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/cmtt10.pfb></usr/share/texmf-dist/fonts/type1/public/cm-super/sfrm1000.pfb>
Output written on all_study_guide.pdf (4 pages, 93027 bytes).
Output written on all_study_guide.pdf (6 pages, 104585 bytes).
PDF statistics:
46 PDF objects out of 1000 (max. 8388607)
32 compressed objects within 1 object stream
52 PDF objects out of 1000 (max. 8388607)
36 compressed objects within 1 object stream
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)
No preview for this file type
......@@ -4,7 +4,32 @@
\usepackage[utf8]{inputenc}
\begin{document}
Gautham Velchuru
\section{Racket}
\subsection{Bools}
\begin{itemize}
\item or with an empty list returns #f
\items and with an empty list returns #t
\items or returns the first true thing or #f
%TODO: Check on this one
\items and returns the first false thing or #t
\end{minted}
\subsection{Structs}
\subsubsection{Printing}
\begin{minted}{racket}
;; the #:transparent keyword tells Racket to print out the fields of
;; the struct when you print it
(struct point (x y) #:transparent #:mutable)
(display (point 10 0))
;; this gets printed as #(struct:point 10 0)
\end{minted}
\subsubsection{Properties}
Structs in Racket, like objects in OOP, are pass-by-pointer -- so, (if they are mutable), we can set their fields
but when we reassign the original struct is unchanged.
\section{Prolog}
\subsection{Multiple answers}
One of the special parts of Prolog is that it returns multiple answers for each query -- it keeps
recursively backtracking through rules until it runs out of answers.
\subsection{clpfd}
clpfd example of take rule:
\begin{minted}{prolog}
......@@ -13,7 +38,7 @@ Gautham Velchuru
take(N, [X|Xs], [X|Ys]) :- N #> 0, N1 #= N-1, take(N1, Xs, Ys).
\end{minted}
In regular prolog we could write this using $>$ and is, but this wouldn't allow us to "backtrack", ie create a full list just given the first parts.
In regular prolog we could write this using $>$ and is, but this would not allow us to ``backtrack", ie create a full list just given the first parts.
\subsection{clpr, more advanced list rule}
clpr example of function which returns true if each element of the list is 2 * the last:
\begin{minted}{prolog}
......@@ -51,7 +76,7 @@ Gautham Velchuru
\end{minted}
We use super here to delegate to the regular initialize, and make a new instance
\subsection{Blocks, procs, lambdas}
All three are just ways of capturing the environment on definition. It's not immediately obvious with blocks:
All three are ways of capturing the environment on definition. However, the lexical closure is not immediately obvious with blocks:
\begin{minted}{ruby}
def block(x)
x.each do |x|
......@@ -59,7 +84,54 @@ All three are just ways of capturing the environment on definition. It's not imm
end
end
\end{minted}