1% Options for packages loaded elsewhere
2\PassOptionsToPackage{unicode}{hyperref}
3\PassOptionsToPackage{hyphens}{url}
7\usepackage{amsmath,amssymb}
11 \usepackage[T1]{fontenc}
12 \usepackage[utf8]{inputenc}
13 \usepackage{textcomp} % provide euro and other symbols
14\else % if luatex or xetex
15 \usepackage{unicode-math}
16 \defaultfontfeatures{Scale=MatchLowercase}
17 \defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1}
19% Use upquote if available, for straight quotes in verbatim environments
20\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
21\IfFileExists{microtype.sty}{% use microtype if available
22 \usepackage[]{microtype}
23 \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
26\@ifundefined{KOMAClassName}{% if non-KOMA class
27 \IfFileExists{parskip.sty}{%
30 \setlength{\parindent}{0pt}
31 \setlength{\parskip}{6pt plus 2pt minus 1pt}}
33 \KOMAoptions{parskip=half}}
36\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
37\IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}}
40 pdfcreator={LaTeX via pandoc}}
41\urlstyle{same} % disable monospaced font for URLs
43\newcommand{\passthrough}[1]{#1}
44\lstset{defaultdialect=[5.3]Lua}
45\lstset{defaultdialect=[x86masm]Assembler}
46\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{}
47\setlength{\emergencystretch}{3em} % prevent overfull lines
48\providecommand{\tightlist}{%
49 \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
50\setcounter{secnumdepth}{-\maxdimen} % remove section numbering
52 \usepackage{selnolig} % disable illegal ligatures
60\hypertarget{lhs-test}{%
61\section{lhs test}\label{lhs-test}}
63\texttt{unsplit} is an arrow that takes a pair of values and combines them to
67unsplit :: (Arrow a) => (b -> c -> d) -> a (b, c) d
68unsplit = arr . uncurry
69 -- arr (\op (x,y) -> x `op` y)
72\texttt{(***)} combines two arrows into a new arrow by running the two arrows on a
73pair of values (one arrow on the first item of the pair and one arrow on the
74second item of the pair).
77f *** g = first f >>> second g
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list