/
code.fmt
46 lines (40 loc) · 2.08 KB
/
code.fmt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
\definecolor{keyword}{rgb}{0.20,0.60,1.00}
%format type = "\textcolor{keyword}{\textbf{type}}"
%format module = "\textcolor{keyword}{\textbf{module}}"
%format where = "\textcolor{keyword}{\textbf{where}}"
%format import = "\textcolor{keyword}{\textbf{import}}"
%format instance = "\textcolor{keyword}{\textbf{instance}}"
%format class = "\textcolor{keyword}{\textbf{class}}"
%format data = "\textcolor{keyword}{\textbf{data}}"
%format if = "\textcolor{keyword}{\textbf{if}}"
%format then = "\textcolor{keyword}{\textbf{then}}"
%format else = "\textcolor{keyword}{\textbf{else}}"
%format let = "\textcolor{keyword}{\textbf{let}}"
%format in = "\textcolor{keyword}{\textbf{in}}"
%format == = "=="
%format && = "\&\&"
%format || = "||"
%format not = "not"
%format WhiteSpace = "\;"
\definecolor{cmnt}{rgb}{0.30,1.00,0.30}
%subst comment a = "\textcolor{cmnt}{\text{\tt-- " a "}}"
\definecolor{strlit}{rgb}{1.00,0.40,0.20}
%subst string a = "\textcolor{strlit}{\text{\tt\char34" a "\char34}}"
\definecolor{numlit}{rgb}{1.00,0.20,0.20}
%subst numeral a = "\textcolor{numlit}{\text{" a "}}"
\definecolor{sym}{rgb}{1.00,0.70,0.30}
%format \ = "\textcolor{sym}{\text{$\lambda$}}"
%format -> = "\textcolor{sym}{\text{\ $\to$\ }}"
%format = = "\textcolor{sym}{\text{\ =\ }}"
%format ++ = "\textcolor{sym}{\text{\ \tt{++}\ }}"
%format :: = "\textcolor{sym}{\text{\ ::\ }}"
%format * = "\textcolor{sym}{\text{\ \tt{*}\ }}"
%format + = "\textcolor{sym}{\text{\ \tt{+}\ }}"
%format - = "\textcolor{sym}{\text{\ \tt{-}\ }}"
%format == = "\textcolor{sym}{\text{\ \tt{==}\ }}"
%format => = "\textcolor{sym}{\text{\ $\Rightarrow$\ }}"
%format && = "\textcolor{sym}{\text{$\&\&$}}"
%format || = "\textcolor{sym}{\text{$||$}}"
%format :-> = "\textcolor{sym}{\text{\ $\mapsto$\ }}"
%format . = "\textcolor{sym}{\text{\ $\circ$\ }}"
%format $ = "\textcolor{sym}{\text{\ $\$$\ }}"