News for hackers. Stuff that matters.
Re:Type Inference That Sticks by tel on Sunday February 05, 2023 @10:39AM (#34665732)
* * *
Re:Type Inference That Sticks by gnulinux on Sunday February 05, 2023 @09:12PM (#34672384)
> While I can imagine worlds which improve upon this (working in Agda and Coq is a great way to see a glimpse of it) I honestly feel like my dominant way of working is conversational with the compiler.

Agda programmer here. Not sure what you mean here. Although Agda does save a binary cache file to minimize type-checking latency (.agdai, "agda interface") with compressed type information, it does not have any kind of hidden state. This is very different than what the OP suggests.

Other than this, I agree with you. When I write code in a typed language I have a conversation with the compiler. I keep asking, is this ok, what do you think about this, what type is this... Which is why I find OP misguided. You can have a conversation with the compiler without hidden state.

Re:Type Inference That Sticks by tel on Monday February 06, 2023 @12:58AM (#34673901)
Sorry, not referring to the whole post wrt Agda, just the vision of interactivity that proof search and tactics give you.