Programming
Haskell foldr vs foldl and When to Use Each One
You wrote a fold over a list of ten million numbers, it worked in GHCi on a small input, and then the real run ate 1.5 GB of...
Topic, page 2 of 3
Language concepts, programming patterns, and the ideas that make code easier to reason about.
Programming
You wrote a fold over a list of ten million numbers, it worked in GHCi on a small input, and then the real run ate 1.5 GB of...
Programming
You add a second record type with a field called name , and GHC refuses to compile because the first record already owns that...
Programming
A payments service I helped debug once sent a refund of 4,200 to the wrong customer.
Programming
Most mainstream languages let any reference be null, which means any value might secretly be absent, and the only way to find...
Programming
Monads have a reputation for being impossible, and most of that reputation comes from the metaphors used to explain them.
Programming
One of the most common questions about Haskell is how it handles programs that actually do things - read files, write to...