I don’t know if the Haskell SO community hang out here, but I need to get this off my chest.
I’m seeing a similar pattern repeat itself over and again. Somebody posts a [haskell] question to Stack Overflow. It’s not a question an experienced Haskeller would ask. It displays a lack of understanding of basic Haskell concepts, and displays what many Haskellers might consider muddled thinking. The questioner is very likely a newcomer, often with a rep of 1 or 11.
Within a short amount of time, this question has attracted a number of downvotes. And that’s how it sits, unanswered and un-commented, until it fades into oblivion.
I think a bit of understanding is warranted here. Haskell is a difficult advanced language. Beginners need help to grasp the basic concepts that more experienced user have a deep understanding of.
If you have the time and patience, try and look at the questioner’s problem through a beginner’s eyes, and draft an answer that will guide them to understanding what they are missing.
Otherwise, feel free to contine scrolling down to find the interesting questions about Servant type tetris, generaizing monads, and the performance impact of laziness. But keep the downvotes for questions that genuinely “do not show any research effort, are unclear, or not helpful.” There’s really no need to reinforce the impression that Haskell is a secret code for the initiated. Besides, it’s just not nice.
And give people the benefit of the doubt - I don’t think unclear should be judged to the same standard as, say, a JavaScript question. What’s helful to one novice will be helpful to another. At the very least, leave a comment with specifics on how the question could be improved, maybe pointing to a helpful resource.
Let’s try to treat newcomers to the community the way we would have liked to be treated when we where there, not so long ago. Or at the very least, don’t treat them the way we wouldn’t have wanted to be treated.
Happy Haskelling!