Effective Haskell (Pragmatic Bookshelf)
Most Active This Week
Most Active This Month
Most Active This Year
‘PolyKinds GHC2021’ (page xx, line 12) is a duplicate entry. See last line on page xix.
(Book version P1.0)
New
Most Active Last Three Years
@RebeccaSkinner
Thanks you for this beautiful book.
Chapter 8 - p.317 3rd paragraph from the bottom
If you build your application and ...
New
@RebeccaSkinner
In Effective Haskell Chapter 11 (~ p 410 in ePub), when creating the Encode and Decode instances for String, pack and un...
New
@RebeccaSkinner
In beta 9.0
A small typo near the bottom of p83:
“but it there are some extra moving parts”
Probably"it" should be dr...
New
The function I am testing is handleNums on page 68.
It returns this error message:
λ: :reload
[1 of 1] Compiling Main ...
New
Effective Haskell:Chapter 13 (B9 - PDF version) - infinite loop when running the ClassyArchiver code
Refer to pages 508-511
I get an infinite loop when running the original parseArchive function, after adding a variable called "archiveD...
New
Just noticed a typo in chapter 2, on the bottom of p55 of B9.0 it says:
pseduo-Haskell
I missed this on my first reading of the chapter...
New
There’s a small typo in ch2 (B9.0), half way through the section Destructuring Values With Pattern Matching in the sentence:
As an exam...
New
On p66 of B9.0 chapter 2:
combineLists as bs =
let a = head as
b = head bs
as' = tail as
bs' = tail bs
in if null...
New
I’m hopeful for someone that could explain what GHCI does to differentiate an IO action returning a value that has a Show instance versus...
New
In ch3, section on Reading Type Errors, the error message presented for "one " :: Int with IsString seems non-standard, ie not from a min...
New
@RebeccaSkinner
Currently, it is:
sumOfUniques n = foldr (add n) (additiveIdentity n) . unique n
It should be:
sumOfUniques n = ...
New
@RebeccaSkinner
Chapter 12 starts with the code for the File Archive builder from the bottom of p.438 to p.440.
If the intention was to...
New
The text says "Just like function application at the value level, types for Haskell functions are also left-to-right associative, so inst...
New
@RebeccaSkinner
On page 57 (B9.0)
The if conditions in foldr expansion are not reducing:
eg the second one should be if null [2,3] etc
New
The summary section in chapter 1 (B9.0) ends with:
“In the next chapter you’ll learn about Haskell’s type system and what a function doe...
New
Most Active Over Three Years
Title: Effective Haskell - Example doesn’t work (page 8)
Middle of page 8 says: "Create a new Main.hs and copy the example below to get ...
New
“Much of this {difficult~>difficulty} is due to the complexity inherent in modern systems. ”
“Today, software needs to do more things...
New
In toCsv (ePub p 157, dropLeadingComma will leave a leading space. In the case statement, the first case is ‘,’:s’ → s’ and it should be ...
New
At the beginning of the Composing Functions subsection in Chapter 1 it says: “You’ve already done this kind of implicit function composit...
New
Functions that accept arguments in any order are called “commutative”, not “associative”. Note that this is mentioned twice in the same p...
New
At the end of “Depending on Other Files” (ePub p 153), it says “In the next section you’ll learn the basics of Haskell’s syntax and gramm...
New
The addPeano function switches the arguments in the recursive call. The implementation should be:
addPeano Z b = b
addPeano (S a) b = a...
New
In Chapter 8, (Viewing Text One Page at a Time), when defining groupsOf, it says we should use a polymorphic type in the type signature, ...
New
To be more concise and minimize the number of threads, I grouped the suggested corrections into one post.
A few notes on how I structure...
New
To be more concise and minimize the number of threads, I grouped the suggested corrections into one post.
A few notes on how I structure...
New
In the “Filtering List Elements” section, the party budget function is first called “foodBudget” and all subsequent reference are “partyB...
New
On page 19, the last line of the guard clause code snippet:
| otherwise = “that’s an unfathomalbly big number”
has “unfathomably” missp...
New
In the “Functions as Data Types” section of Chapter 4 (ePub p 113), the takeDigits parser is introduced as “we could take some digits fro...
New
Effective Haskell Chapter 8
getTerminalSize (Epub p 243) used pure in the case statement and return in the definition of tputScreenDime...
New
“You’ll notice that in all of the examples so far, we’ve created lists that only contain numbers” - this is incorrect, one of the first e...
New
Publisher:
Pragmatic Bookshelf
Latest in Effective Haskell
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Use the coupon code "devtalk.com" to get 35% off any eBook published by PragProg!






