CheatSheet 1.1 → 1.2
raw patch · 5 files changed
+21/−13 lines, 5 files
Files
- CheatSheet.cabal +6/−7
- CheatSheet.lhs +5/−5
- CheatSheet.pdf binary
- Main.lhs +2/−1
- README +8/−0
CheatSheet.cabal view
@@ -1,9 +1,9 @@ Name: CheatSheet-Version: 1.1 License: BSD3 License-File: LICENSE+Version: 1.2 Author: Justin Bailey-Homepage: http://github.com/m4dc4p/cheatsheet+Homepage: http://blog.codeslower.com/2008/10/The-Haskell-Cheatsheet Maintainer: jgbailey _ codeslower _ com Category: Help Build-Depends: base, containers, directory@@ -12,12 +12,11 @@ Description: This module includes a PDF giving a synopsis of Haskell syntax, keywords, and other essentials. It also has a literate source file which allows all- examples to be inspected.-Exposed-modules: CheatSheet-Hs-Source-Dirs: .-Data-files: CheatSheet.pdf+ examples to be inspected. Download and unpack this archive to view them.+Data-files: CheatSheet.pdf, CheatSheet.lhs+Extra-Source-Files: CheatSheet.lhs, README Executable: cheatsheet Main-Is: Main.lhs-Hs-Source-Dirs: .+Hs-Source-Dirs: .
CheatSheet.lhs view
@@ -64,7 +64,7 @@ < case, class, data, deriving, do, < else, if, import, in, infix, infixl, < infixr, instance, let, of, module,-< newtype, return, then, type, where+< newtype, then, type, where \shd{Strings} @"abc"@ -- Unicode string.\\@@ -1351,14 +1351,14 @@ \hd{Contributors} My thanks to those who contributed patches and useful suggestions:- Jeff Zaroyko, Stephen Hicks, Holger Siegel, Adrian Neumann.+ Stephen Hicks, Kurt Hutchinson, Adrian Neumann, Holger Siegel, and Jeff Zaroyko. \hd{Version} - This is version 1.1 of the CheatSheet. The latest source can always+ This is version 1.2. The source can be found at \url{git://github.com/m4dc4p/cheatsheet.git}. The latest- version be downloaded from- HackageDB\footnote{\url{http://hackage.haskell.org/cgi-bin/hackage-scripts/package/CheatSheet}}. Visit+ released version of the PDF can be downloaded from+ Hackage\footnote{\url{http://hackage.haskell.org/cgi-bin/hackage-scripts/package/CheatSheet}}. Visit \url{http://blog.codeslower.com} for other projects and writings. \end{multicols}
CheatSheet.pdf view
binary file changed (156625 → 158441 bytes)
Main.lhs view
@@ -5,5 +5,6 @@ > > main = do > pdfLoc <- getDataFileName "CheatSheet.pdf" +> lhsLoc <- getDataFileName "CheatSheet.lhs" > putStrLn $ "Your cheatsheet is at: " ++ pdfLoc -> +> putStrLn $ "Its literate source is at: " ++ lhsLoc
+ README view
@@ -0,0 +1,8 @@+Haskell CheatSheet +================== + +Written and maintained by Justin Bailey <jgbailey@codeslower.com>. + +The cheat sheet is a PDF included in the source distribution. If you installed +this package through cabal install, run "cheatsheet.exe" to find where the +PDF was installed.