Skip to content

Commit

Permalink
repo URL change - typo in the name
Browse files Browse the repository at this point in the history
  • Loading branch information
lukleh committed Apr 30, 2016
1 parent b2d0ab2 commit 7acb044
Show file tree
Hide file tree
Showing 6 changed files with 37,153 additions and 417,810 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Exercises and notes for book "Haskell Programming from first principles" - Unofficial

Rendered version at https://lukleh.github.io/haskell-book-excercises
Rendered version at https://lukleh.github.io/haskell-book-exercises

It written and rendered using [Asciidoctor](http://asciidoctor.org/)
8 changes: 4 additions & 4 deletions ch13/ch13.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
== 13 Building projects in Haskell
Used `stack` instead of `cabal`

Files at https://github.com/lukleh/haskell-book-excercises/tree/gh-pages/ch13
Files at https://github.com/lukleh/haskell-book-exercises/tree/gh-pages/ch13

https://github.com/commercialhaskell/stack/blob/master/doc/faq.md

Expand All @@ -27,7 +27,7 @@ http://docs.haskellstack.org/en/stable/README.html
. `stack exec hello-haskell-exe`
. if you need REPL with project loaded `stack repl`

Sources at https://github.com/lukleh/haskell-book-excercises/tree/gh-pages/ch13/hello-haskell
Sources at https://github.com/lukleh/haskell-book-exercises/tree/gh-pages/ch13/hello-haskell

=== 13.4 Importing modules
==== Intermission: Check your understanding
Expand All @@ -42,7 +42,7 @@ Sources at https://github.com/lukleh/haskell-book-excercises/tree/gh-pages/ch13/
=== 13.8 Loading code from another project

==== call-em-up
Sources at https://github.com/lukleh/haskell-book-excercises/tree/gh-pages/ch13/call-em-up
Sources at https://github.com/lukleh/haskell-book-exercises/tree/gh-pages/ch13/call-em-up

call-em-up sees hello-haskell by including `- ../hello-haskell` in `packages` section in `stack.yaml`. Not sure if this is the right way.

Expand Down Expand Up @@ -70,7 +70,7 @@ include::ch13_13.9_2.hs[]
=== 13.15 Chapter exercises

==== Hangman game logic
Sources at https://github.com/lukleh/haskell-book-excercises/tree/gh-pages/ch13/hangman
Sources at https://github.com/lukleh/haskell-book-exercises/tree/gh-pages/ch13/hangman

To count only incorrect guesses, I have modified `gameOver` condition to `if (length guessed - length (filter isJust discovered)) > 7 then`

Expand Down
Loading

0 comments on commit 7acb044

Please sign in to comment.