CheatSheet 1.6 → 1.7
raw patch · 3 files changed
+8/−8 lines, 3 files
Files
- CheatSheet.cabal +1/−1
- CheatSheet.lhs +7/−7
- CheatSheet.pdf binary
CheatSheet.cabal view
@@ -1,7 +1,7 @@ Name: CheatSheet License: BSD3 License-File: LICENSE-Version: 1.6+Version: 1.7 Author: Justin Bailey Homepage: http://blog.codeslower.com/2008/10/The-Haskell-Cheatsheet Maintainer: jgbailey _ codeslower _ com
CheatSheet.lhs view
@@ -258,7 +258,7 @@ type of its arguments. Haskell accomplishes overloading through @class@ and @instance@ declarations. A @class@ defines one or more functions that can be applied to any types which are members (i.e., instances) of that class. A- class is analogous to an interface in Java or C#, and instances to a concrete+ class is analogous to an interface in Java or C\#, and instances to a concrete implementation of the interface. A class must be declared with one or more type variables. Technically, Haskell@@ -1135,9 +1135,9 @@ < # $ % & * + . / < = > ? @ \ ^ | - ~ - However, there are several ``operators'' which cannot be redefined. Those are:- -\textt{<- -> =} (\emph{by itself}) + However, there are several ``operators'' which cannot be redefined. They are: @<-@, @->@ and @=@. The last,+ @=@, cannot be redefined by itself, but can be used as part of multi-character operator. The ``bind'' function,+ @>>=@, is one example. \sshd{Precedence \& Associativity} The precedence and associativity, collectively called \emph{fixity}, of any@@ -1378,12 +1378,12 @@ My thanks to those who contributed patches and useful suggestions: Dave Bayer, Cale Gibbard, Stephen Hicks, Kurt Hutchinson, Adrian- Neumann, Lanny Ripple, Markus Roberts, Holger Siegel, Leif Warner,- and Jeff Zaroyko.+ Neumann, Barak Pearlmutter, Lanny Ripple, Markus Roberts, Holger+ Siegel, Leif Warner, and Jeff Zaroyko. \hd{Version} - This is version 1.6. The source can + This is version 1.7. The source can be found at GitHub\footnote{\url{git://github.com/m4dc4p/cheatsheet.git}}. The latest released version of the PDF can be downloaded from Hackage\footnote{\url{http://hackage.haskell.org/cgi-bin/hackage-scripts/package/CheatSheet}}. Visit
CheatSheet.pdf view
binary file changed (160311 → 160321 bytes)