News for hackers. Stuff that matters.
Re:Why Haskell? by yakshaving_jgt on Friday September 13, 2024 @07:44AM (#41530260)
Because what you're asking for precludes the concept of mathematical guarantees. I'm not taking your question at face value, because you could be asking why call site code should break when the type signature generalises (which is a useful thing), but that's not what you're asking.

It seems you're asking for code to be both null safe and not null safe simultaneously.

Having a language just decide that it would like to change the types of the values flowing through a system is wild. It's one of the reasons that JavaScript is a trash fire.

Re:Why Haskell? by cubefox on Friday September 13, 2024 @11:44AM (#41532278)
You are misunderstanding things.
Re:Why Haskell? by yakshaving_jgt on Friday September 13, 2024 @12:05PM (#41532487)
I’m certainly misunderstanding why so many people in this thread insist on speaking authoritatively on a topic they clearly know very little about.