Work in progress: 181,232 of 181,233 sites checked so far, more every week · updated 2 Nov 2026Missing a blog? Tell us

Top all-time · #8584

N

Notes on Haskell

Personal blog · notes-on-haskell.blogspot.comprogramming

Notes on Haskell is a personal blog at notes-on-haskell.blogspot.com about programming. Since 2007, 9 different Hacker News readers have linked it 11 times, most often “What's Wrong with the For Loop”. The last post was in 2010, but the archive is still widely read.

Visit the blog
11mentions?
9HN people?
2007–2023first – last linked?
Links on Hacker News per year · peak 4 in 2008

Too few sampled comments (3) to say how often HN recommends it.?

Why HN links it

Linked for a post on why Haskell has no for loop, which argues that lazy evaluation makes parameters behave like closures. Commenters cite it when discussing thunks and iterators.

Summarised by Claude from a sample of 3 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.

Most-linked posts?

  1. What's Wrong with the For Loop
    3 people · 3 mentions · first linked 2008-05-19
  2. /2007/02/whats-wrong-with-for-loop.html?showComment=1170973200000
    2 people · 2 mentions · first linked 2011-03-09

What Hacker News says?

  1. zohebv · 2011-03-09Recommends
    I know I am repeating a previous comment but the author correctly explains it here http://notes-on-haskell.blogspot.com/2007/02/whats-wrong-wit... In Haskell all parameters are lazy by default, which effectively turns every parameter into a closure. for e.g., consider the code boost x = map ( x) [1..10] total = sum (boost 2) On invocation of the sum function, the (boost 2) is not necessarily evaluated. Instead a ref…

    Comment linking /2007/02/whats-wrong-with-for-loop.html?showComment=1170973200000

    on “Notes on Haskell: What's Wrong with the For Loop”
  2. Submitted What's Wrong with the For Loop as a story · 87 points

    HN discussion
  3. I'm not the author, and I think this was kind of a cop out, but: http://notes-on-haskell.blogspot.com/2007/02/whats-wrong-wit... "A few people have commented that none of the examples use closures, but in Haskell closures are used not only to represent functions but also unevaluated values (i.e., thunks). For example, in the simple expression total = sum array the variable array is free and refers to some value, pos…

    Comment linking /2007/02/whats-wrong-with-for-loop.html?showComment=1170973200000

    on “Notes on Haskell: What's Wrong with the For Loop”
  4. Submitted Notes on Haskell: What's Wrong with the For Loop as a story · 66 points

    HN discussion
  5. I also had a reaction when I started using Ruby and being introduced to functional programming concepts. I read blog posts http://notes-on-haskell.blogspot.com/2007/02/whats-wrong-wit... about people saying you don't really need for loops. I thought...well, how do you get anything done ? Ends up that most things you care about can be done with iterators like each , map , and inject (like a fold). On occasion, you'll…

    Comment linking /2007/02/whats-wrong-with-for-loop.html

    on “Erlang vs. Scala”
  6. Submitted Arrows in Javascript as a story · 36 points

    HN discussion
  7. Submitted What's Wrong with the For Loop as a story · 19 points

    HN discussion
  8. Submitted Static vs. Dynamic Languages as a story · 8 points

    HN discussion
  9. Submitted Rewriting Software (2007) as a story · 1 points

    HN discussion
  10. Submitted The Closures are Coming as a story · 1 points

    HN discussion
  11. Submitted Futurama's Taxicab Numbers as a story · 1 points

    HN discussion

Search all of HN for notes-on-haskell.blogspot.com

Linked by the same people?