Commit Graph

218 Commits

Author SHA1 Message Date
Stephen Diehl
142b1628a9 added stack support 2015-11-26 19:16:46 -05:00
Stephen Diehl
c536b30c9a note about latex build 2015-11-21 09:55:41 -05:00
Stephen Diehl
0ecbb87423 build environment 2015-11-21 09:52:39 -05:00
Stephen Diehl
f23c18bf17 Merge pull request #70 from samvher/patch-4
Some additions for clarification and minor changes
2015-11-02 09:03:19 -05:00
Stephen Diehl
a61d1a9a2b Merge pull request #71 from samvher/patch-5
Added missing TArr to the type definition
2015-08-10 10:19:17 -04:00
samvher
d8bb6deb0c Added missing TArr to the type definition
TArr is referenced in the code a few times but is never defined. In the code it is part of the Type datatype, so I added it there.
2015-08-09 18:24:01 +02:00
samvher
5443cfd6f3 Some additions for clarification and minor changes
I got confused in the beginning due to the different lambda notation, so I read up on wikipedia and found out there was actually no reason to be confused. Still I imagine it could happen to others so I would suggest the short additional paragraph at the beginning.

Also, I just noticed/found out that there is a strong relationship between the SKI combinators and Reader, i.e. that S is ``<*>``, K is ``const``/``pure`` (and I is ``id``/``ask``). And indeed ``const <*> const = id`` so SKK evaluates to I. Maybe this is interesting to mention? (I found it interesting. It's a bit unrelated, but might make people who have more experience with coding Haskell than with lambda calculus feel more familiar.)

I found the Y f = f(Y f) derivation a bit difficult to make in my mind, I think it would be good to show it.

That's it, thanks a lot for the tutorial, I'm finding it very interesting.
2015-08-08 23:18:06 +02:00
Stephen Diehl
70952229ba Merge pull request #68 from samvher/patch-1
Some edits in "Code generation" section
2015-08-08 08:05:46 -04:00
samvher
1ac88fb834 Some edits in "Code generation" section
The role of the first few snippets is not completely clear from the text, I think it would be good to give some more context.
2015-08-08 11:09:42 +02:00
Stephen Diehl
9c57331bc1 Merge pull request #67 from dstein64/master
"Infix" --> "Prefix" in comment
2015-06-10 15:51:42 -07:00
Daniel Steinberg
a80a1543ed "Infix" --> "Prefix" in comment 2015-06-10 13:23:49 -04:00
Stephen Diehl
169b738671 Merge pull request #66 from yupferris/master
Small fixes in the Introduction chapter
2015-05-17 11:10:03 -04:00
ferris
52cf53031b Added Jake Taylor to contributors list 2015-05-16 23:12:01 -07:00
ferris
2378153384 Fixed a quite broken sentence in 000_introduction.md 2015-05-16 23:11:05 -07:00
ferris
d52a92fcbd Small cosmetic fixes in 000_introduction.md 2015-05-16 23:10:04 -07:00
Stephen Diehl
1e26e8fa23 Merge pull request #63 from chsievers/ch008
changes to the Extended Parser chapter
2015-04-14 14:22:14 -04:00
Christian Sievers
43f74ae7ff changes to the Extended Parser chapter 2015-04-10 12:49:03 +02:00
Stephen Diehl
0b3825e7ee Merge pull request #61 from yanok/patch-1
Fix typo in substitution definition
2015-04-04 08:30:01 -04:00
yanok
089d8103ed Fix typo in substitution definition
y \notin\FV{e} should be y \notin\FV{a}.
2015-04-03 10:34:24 +02:00
Stephen Diehl
22a9da72d0 Merge pull request #59 from hellerve/master
Fixed a few typos
2015-03-29 18:48:18 -04:00
hellerve
159d567dc6 Fixed a few typos 2015-03-30 00:19:20 +02:00
Stephen Diehl
50dd27812d Merge pull request #58 from brooksbp/patch-1
Fix ast type returned from parsing "false" atom.
2015-03-28 19:07:09 -04:00
Brian Brooks
6f1aa56dcd Fix ast type returned from parsing "false" atom. 2015-03-28 12:33:55 -04:00
Stephen Diehl
b7e290a5ff Merge branch 'master' of github.com:sdiehl/write-you-a-haskell 2015-03-17 14:25:29 -04:00
Stephen Diehl
ee1b14c1b2 added convert command for pngs 2015-03-17 14:24:22 -04:00
Stephen Diehl
3b497aa295 Merge pull request #56 from chsievers/ch007
fixes to the ProtoHaskell chapter
2015-03-03 16:16:44 -05:00
Stephen Diehl
66a88b8b4d rearrange schedule 2015-03-03 16:16:17 -05:00
Christian Sievers
2aae1140d9 fixes to the ProtoHaskell chapter 2015-02-27 21:56:47 +01:00
Stephen Diehl
0bfb38d81e Merge pull request #55 from chsievers/ch006
changes to the Hindley-Milner Inference chapter
2015-02-22 09:12:42 -05:00
Christian Sievers
199dac79b7 changes to the type inference examples 2015-02-20 01:04:50 +01:00
Christian Sievers
24a0679ef3 rewrite motivation of the occurs check 2015-02-18 13:35:24 +01:00
Stephen Diehl
841fe65b1e Merge pull request #54 from carliros/master
Adding support for generating epub-kindle format.
2015-02-16 13:48:35 -05:00
Carlos Gomez
fa51ab827d Adding support for generating epub-kindle format. 2015-02-16 12:22:28 -04:00
Christian Sievers
35fac9d6e5 rephrase definition and notation of unifier 2015-02-16 14:53:53 +01:00
Christian Sievers
a263f7cff3 rephrase Free Theorem paragraphs 2015-02-16 14:47:31 +01:00
Christian Sievers
a6f9d2c0a2 small fixes to the first half of the Hindley-Milner chapter 2015-02-16 14:41:57 +01:00
Stephen Diehl
ac36de195e Merge pull request #53 from FranklinChen/small-fixes
Small fixes
2015-02-15 23:01:27 -05:00
Franklin Chen
f6998868c9 Add Franklin Chen as a contributor. 2015-02-15 22:22:47 -05:00
Franklin Chen
3f7072fa5d Fix typos, clean up some grammar. 2015-02-15 22:22:13 -05:00
Stephen Diehl
67f118ef68 Merge pull request #52 from chsievers/proposed
several small changes
2015-02-14 14:11:10 -05:00
Christian Sievers
59bef9ea44 changes to the Evaluation chapter 2015-02-14 16:11:43 +01:00
Christian Sievers
c58a5036ed small fix to Parsing chapter 2015-02-13 22:31:42 +01:00
Christian Sievers
8073d55aaf Changes to the Monoids section of the Basics chapter 2015-02-13 22:28:27 +01:00
Stephen Diehl
363eb58099 Merge pull request #51 from chsievers/ch004
changes to the Type Systems chapter
2015-02-13 12:14:44 -05:00
Christian Sievers
0378186422 Changes to Notation Reference section 2015-02-13 17:21:17 +01:00
Christian Sievers
8467784d66 chapter5/stlc/Check.hs: make case expression in check function more idiomatic 2015-02-13 17:02:53 +01:00
Christian Sievers
c4bf56aa76 Replace 'int' with 'Int'
It was used consistently, but why?
Haskell uses upper case, and the same example has upper case 'Bool'.
2015-02-13 16:49:39 +01:00
Christian Sievers
7c4a381c48 Small fixes to the Type Systems chapter 2015-02-13 16:45:11 +01:00
Christian Sievers
37f44df2d8 Fix T-Lam typing rule 2015-02-13 15:23:57 +01:00
Stephen Diehl
f445e06df8 Merge pull request #50 from takenobu-hs/patch-1
Fix Greek character and existential quantifier
2015-02-10 11:16:12 -05:00