Recent submissions

Comment · 7 days ago
Haskell most definitely supports loops:

    ghci> :{
    ghci| for_ [1 .. 10] $ \i ->
    ghci|   print i
    ghci| :}
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
It doesn't require loops to be implemented at the language level, however. The language is rich enough to support user-defined loop constructs.
Comment · 11 days ago
> Just imagine the billions of value you could've generated with a more programmer-friendly language!

To make a serious rejoinder to a light-hearted comment, I couldn't have, because without Haskell I would have been so annoyed with programming I would have gone into management or something, so that I didn't have to use a "more programmer-friendly" language and want to tear my eyeballs out 8 to 10 hours a day. Seriously. Haskell is the only language I've used which I don't feel gets in my way.

Comment · 13 days ago
> Haskell is a great research language - just don't try to use it for actual production programming. ;-)

Oops, your advice came ten years and millions of dollars of value generated too late for me :(

Comment · 18 days ago
Comment · 22 days ago
The first article doesn't say that Israel was the culprit and the second article isn't about this particular case (nor does it actually say that Israel was involved, just Israelis, formerly intelligence service staff).
Comment · 22 days ago
Maybe a silly question, but without video isn't this obviously fake? Or is it normal for all participants on a call to be audio only?
Comment · 22 days ago
I think you've got it exactly backwards. The comment is supposed to explain that there can't be a scientific determination of such a matter, not that it itself is such a determination.
Comment · 23 days ago
Comment · 24 days ago
If that's so could you link the other articles?
Comment · 25 days ago
The culprit where?
Comment · 25 days ago
That article doesn't say it was Israel.
Comment · 25 days ago
Are you sure it says that? As far as I can see it only says he dealt with Israeli ex-spies in an (unrelated) kidnapping and that he was friendly with Israeli spies.
Comment · 25 days ago
I don't quite follow. `fmap = map` is a valid implementation for lists indeed, but `for_ = foldr` is not. They don't have compatible types, for one thing. What do you mean?
Comment · 26 days ago
Or just use `for_` instead of explicit recursion ...
Comment · 26 days ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton