Re:Idris: A Language for Type-Driven Development
by josephcsible on Friday January 20, 2023 @07:35PM
(#34462385)
For Boolean conditionals, you're right. But there are richer conditionals that make certain variables available in only one clause of them, e.g., matching on whether an Either in Haskell is Left or Right, or whether a Result in Rust is an Err or an Ok.
[ Parent
| on HN ]
There are no comments on this comment yet.