Show HN: Algebraic Effect System for Python

Effecton is effect system for python allowing to write *very* typesafe apps like:

```py def charge(order: Order) -> E.Effect[Receipt, CardDeclined | CardExpired, PaymentGateway]: ... ```

So not only success value but also errors and requirements are typed. This makes not only people but also agents more productive. Effecton also comes with many building blocks like http client or file system (including in memory implementation for tests).

1 points krzkaczor 1 month ago 0 comments

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton