/
index.html
84 lines (79 loc) · 3.78 KB
/
index.html
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="pandoc" />
<meta name="author" content="Justin Bailey" />
<meta name="date" content="December 27, 2009" />
<title>The Haskell Cheatsheet</title>
<link rel="stylesheet" href="style.css" type="text/css" />
</head>
<body>
<h1 class="title">The Haskell Cheatsheet</h1>
<div id="wrapper">
<div id="masthead" class="fix" style="width: 100%">
<h1 class="sans"><a href="http://blog.codeslower.com" class="title">codeslower.com</a> <em>Savor Your Code.</em></h1>
</div>
<div id="mid" class="fix">
<div id="mainCol" class="fix">
<div id="article" class="post">
<div style="text-align: center"><h2 id="the-haskell-cheatsheet"
>The Haskell Cheatsheet</h2
><strong
>Justin Bailey</strong
> <<tt>jgbailey@codeslower.com</tt>></div>
<div id="blogbody" class="entry">
<p
>Learning Haskell is not easy. Besides the syntax, concepts, and advanced types, there is a real lack of succinct, accessible references. As I learned Haskell I frequently wanted a quick reference for syntax, keywords and other language elements. <a href="http://haskell.org/onlinereport"
>The Haskell Report</a
>, while very thorough, wasn't quite it.</p
><p
>For that reason I've created <a href="CheatSheet.pdf"
>this cheatsheet</a
>. It's intended for beginning to intermediate Haskell programmers to use as a quick-reference guide for syntax, keywords or other language issues. You can obtain it in four different ways:</p
><ul
><li
>Download directly in PDF format: <a href="CheatSheet.pdf"
>CheatSheet.pdf</a
></li
><li
>As a <a href="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/CheatSheet"
>Haskell package on HackageDB</a
>.<ul
><li
>After downloading, unpack the tarball and the PDF is inside.</li
></ul
></li
><li
>Using cabal install with "<tt>cabal install cheatsheet</tt>". Afterwards, run the "<tt>cheatsheet</tt>" program and it will tell you where the PDF is located.</li
><li
><a href="http://www.amazon.com/gp/product/B0040JHS7U/ref=as_li_tf_tl?ie=UTF8&tag=thehaskchea-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=B0040JHS7U">The Haskell Cheatsheet</a><img src="http://www.assoc-amazon.com/e/ir?t=thehaskchea-20&l=as2&o=1&a=B0040JHS7U&camp=217145&creative=399349" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> from Amazon.com, formatted especially for the Kindle eReader.</li
></ul
><p
>The guide itself is written as a "literate" Haskell file, meaning it is directly executable. That file is available when using the latter two options above.</p
><p
>The source is hosted at <a href="http://github.com/m4dc4p/cheatsheet/tree/master"
>http://github.com/m4dc4p/cheatsheet/tree/master</a
> and can be cloned from <tt>git://github.com/m4dc4p/cheatsheet.git</tt>.</p
><h1>¿Usted habla español?</h1>
<p
>Jaime Soffer was kind enough to translate the Haskell Cheatsheet into Spanish! Just download <a href="http://cloud.github.com/downloads/jsoffer/cheatsheet/CheatSheetEs.pdf"
>CheatSheetEs.pdf</a
> from his <a href="http://github.com/jsoffer/cheatsheet/downloads"
>GitHub repository</a
>.</p>
</div>
</div>
</div>
</div>
</div>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-EDYEXDRJ7M"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-EDYEXDRJ7M');
</script>
</body>
</html>