Settings

Theme

Show HN: Algebraic Effect System for Python

effecton.dev

1 points by krzkaczor · 0 comments · 1 min read

Reader

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).

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection