Returns

Use when writing or modifying Python library code that imports `returns` (dry-python/returns) — Result/ResultE, Maybe, IO/IOResult, Future/FutureResult, @safe/@impure_safe/@future_safe, .bind/.map, do-notation, flow/pipe, pointfree. Also when a returns-using project is type-checked with pyrefly (no mypy plugin) and HKT types like KindN leak as false positives. Covers which container fits which failure, bind-vs-map, staying in the container, exposing containers in a public API, and pyrefly config.

d-laub 824082c 12.4 KB Updated

File contents

d-laub/dlaub-togo/tree/main/skills/returns commit 824082c2a8

Frequently asked questions

npx skillmds@latest add d-laub/returns