1% Options for packages loaded elsewhere
2\PassOptionsToPackage{unicode}{hyperref}
3\PassOptionsToPackage{hyphens}{url}
9\usepackage{ifxetex,ifluatex}
10\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
11 \usepackage[T1]{fontenc}
12 \usepackage[utf8]{inputenc}
13 \usepackage{textcomp} % provide euro and other symbols
15\else % if luatex or xetex
16 \usepackage{unicode-math}
17 \defaultfontfeatures{Scale=MatchLowercase}
18 \defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1}
20% Use upquote if available, for straight quotes in verbatim environments
21\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
22\IfFileExists{microtype.sty}{% use microtype if available
23 \usepackage[]{microtype}
24 \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
27\@ifundefined{KOMAClassName}{% if non-KOMA class
28 \IfFileExists{parskip.sty}{%
31 \setlength{\parindent}{0pt}
32 \setlength{\parskip}{6pt plus 2pt minus 1pt}}
34 \KOMAoptions{parskip=half}}
37\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
38\IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}}
41 pdfcreator={LaTeX via pandoc}}
42\urlstyle{same} % disable monospaced font for URLs
44\newcommand{\passthrough}[1]{#1}
45\lstset{defaultdialect=[5.3]Lua}
46\lstset{defaultdialect=[x86masm]Assembler}
47\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{}
48\setlength{\emergencystretch}{3em} % prevent overfull lines
49\providecommand{\tightlist}{%
50 \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
51\setcounter{secnumdepth}{-\maxdimen} % remove section numbering
53 \usepackage{selnolig} % disable illegal ligatures
61\hypertarget{lhs-test}{%
62\section{lhs test}\label{lhs-test}}
64\texttt{unsplit} is an arrow that takes a pair of values and combines them to
68unsplit :: (Arrow a) => (b -> c -> d) -> a (b, c) d
69unsplit = arr . uncurry
70 -- arr (\op (x,y) -> x `op` y)
73\texttt{(***)} combines two arrows into a new arrow by running the two arrows on a
74pair of values (one arrow on the first item of the pair and one arrow on the
75second item of the pair).
78f *** 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