Show HN: Algebraic Effect System for Python (effecton.dev)

1 points by krzkaczor ↗ HN
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).

0 comments

[ 0.25 ms ] story [ 5.9 ms ] thread

No comments yet.