logoalt Hacker News

zozbot23407/31/20251 replyview on HN

> (also see all the different logics philosophers use to formalise different kinds of argument involving time/modality/probability - there are a lot, but they aren't very "modular" and can't easily be mixed unless someone has solved that since I last looked into it)

From a logic-as-types perspective, modalities turn out to be monads. So the problem of "mixing" modalities is quite similar to the problem of composing monads in programming languages.


Replies

bubblyworld08/01/2025

Oh, wow, that's quite a cool connection. Will look into that, thanks!