Y
Hacker News
new
|
ask
|
show
|
jobs
by
munchler
79 days ago
As a fan of the Curry-Howard correspondence, I approve of this decision.
1 comments
SabrinaJewson
79 days ago
You’re going to hate when you learn that the never type is inhabited
link
kibwen
79 days ago
I'm unclear what this is implying, but in Rust the never type is uninhabited.
https://doc.rust-lang.org/reference/items/enumerations.html#...
link
SabrinaJewson
78 days ago
In Rust, `loop {}` is an expression of type `!`, which means that from a type-theoretic perspective it is inhabited. This means that the Curry–Howard correspondence fails for Rust.
link
ratmice
79 days ago
Perhaps it refers to PhantomData<!> but I don't know
link