Unofficial Hacker News companion — get notified on comment replies, and more.

So you want to build a mainstream formally verifiable language (opens external site)

119 points by mpweiher 2 days ago | danilafe.com | 82 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (1)

  1. I haven't programmed much in Haskell, but I have played around with Elixir and Clojure before, so I have a rough sense of programming declaratively (I'm not terribly familiar with Haskell's type system outside of my exposure to traits in Rust, but I don't think that was the feature you were focusing on). Programming declaratively from what I've done is still thinking downwards, in that you map this, you filter this, etc, but it's a directed graph. With math you have equality/equivalence, which works both ways. If a + b = c + d, then c + d = a + b, so now you can go backwards. In my experience it feels completely different, because the way you solve problems takes advantage of things like this all the time.