News for hackers. Stuff that matters.
Re:Show HN: Katharos Functional programming and CSP-style co... by kamalf on Sunday August 02, 2026 @06:45AM (#49143180)
I've been working on Katharos, a functional programming and concurrency library for Python 3.13+. The idea behind it is simple: absence, errors, effects, and concurrent communication should be explicit, composable values instead of hidden control flow.
Re:Show HN: Katharos Functional programming and CSP-style co... by rirze on Sunday August 02, 2026 @10:54AM (#49145226)
As someone intimately familiar with Python and not so much with "algebraic abstractions", I looked at your examples and can't figure out how they work (and why the abstraction is useful).

Am I missing something?

Re:Show HN: Katharos Functional programming and CSP-style co... by pphysch on Sunday August 02, 2026 @12:42PM (#49146056)
I think it comes down to some people having a strong aesthetic aversion to imperative programming and the practical value of side effects (including exception bubbling), often manifesting in vain attempts to write 'perfect code'.
Re:Show HN: Katharos Functional programming and CSP-style co... by iforiq on Sunday August 02, 2026 @11:53AM (#49145665)
Very nice. Any plans to add algebraic effect handlers to this in the near future?