returns
returns copied to clipboard
Make your functions return something meaningful, typed, and safe!
Hi! Question(s) on `IO`. I am trying to write a little wrapper for some stateful operation (imagine I have to do IO from/to a file), and I found out that...
It would be awesome to have a pre-compiled C version of `returns`. It think it might be possible with `mypyc`. This way we can try to achieve really fast code...
It is not clear from the documentation when you'd select to use `RequiresContext` instead of an IoC container. We should explain the differences and demonstrate the different usecases where one...
In this document I will explain: - How releases are made - How decisions are made and who has the final word - What processes we enforce (for example: RFC...
I will create a "Principles" document and pass it to be reviewed by @astynax and @proofit404 Any discussions before this document is merged are more than welcome! After it is...
Related: https://github.com/dry-python/dependencies/commit/e0a696a61dd90e8420d0a4d7f8d8d562bddc4801#diff-04c6e90faac2675aa89e2176d2eec7d8
https://zio.dev/docs/howto/howto_use_layers
Currently, Python does not have any valid type elements to work with lists. And while `List` itself is good enough for collections and other things, sometimes we need to explicitly...
# Bug report Hi, I'm trying to curry a class constructor, but mypy complains ## What's wrong ```py # main.py from returns.curry import curry @curry class Person: def __init__(self, name:...
Closes https://github.com/dry-python/returns/pull/1709