←back to thread

193 points ingve | 3 comments | | HN request time: 0s | source
Show context
jes5199 ◴[] No.43713172[source]
I love Haskell because I can write provably correct code that still doesn’t work
replies(4): >>43713179 #>>43713368 #>>43714302 #>>43714956 #
jiggawatts ◴[] No.43714302[source]
A Haskell quote I like is: “I’ve only proven this correct, I haven’t tried it.”
replies(1): >>43714346 #
1. neilwilson ◴[] No.43714346[source]
Isn’t that one of Dijkstra’s supposed comments?
replies(1): >>43714380 #
2. OskarS ◴[] No.43714380[source]
It's Knuth! [1]

"Beware of bugs in the above code; I have only proved it correct, not tried it."

[1]: https://www-cs-faculty.stanford.edu/~knuth/faq.html

replies(1): >>43714822 #
3. jiggawatts ◴[] No.43714822[source]
It's incredible that given how fuzzy and inaccurate human memory is, we treat any LLM that can't perfectly recite volumes of information as somehow beneath us.