Re:Hasochism: The pleasure and pain of dependently typed Has...
by HKH2 on Tuesday April 08, 2025 @12:21AM
(#43618322)
Isn't Idris basically Haskell with DT?
[ Parent
| on HN ]
Re:Hasochism: The pleasure and pain of dependently typed Has...
by wk_end on Tuesday April 08, 2025 @02:55AM
(#43619037)
At the language level...sort of?
Idris is strict, unlike Haskell. As of Idris 2, it also has a substructural type system which tracks how often terms are used, which is kind of Rust-y and can allow for better runtime performance by ensuring that proofs can be erased (IIUC).
But besides just being a language, Haskell is a whole ecosystem. It's not an amazing ecosystem, but it's good enough for serious work. Idris is not and may never be. A fully-supported Dependent Haskell would be huge for dependent types in practice.