Metadata-Version: 2.4
Name: mafunca
Version: 0.8.3
Summary: Some useful things from the world of functional programming for python.
Author-email: Maxim Sukhov <msuhov1988@gmail.com>
License: The MIT License (MIT)
        
        Copyright (c) 2026 Sukhov Maxim
        
        Permission is hereby granted, free of charge, to any person obtaining a copy of
        this software and associated documentation files (the "Software"), to deal in
        the Software without restriction, including without limitation the rights to
        use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
        the Software, and to permit persons to whom the Software is furnished to do so,
        subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
        FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
        COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
        IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
        CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWAR
Project-URL: Homepage, https://github.com/msuhov1988/Mafunca
Project-URL: Repository, https://github.com/msuhov1988/Mafunca
Project-URL: Issues, https://github.com/msuhov1988/Mafunca/issues
Keywords: monads,functional-programming,curry,currying
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

### Mafunca is a small FP library with a practical focus.
Rather than trying to implement every functional abstraction, it concentrates on a few useful ideas: 
- make failures explicit
- avoid scattering `None` checks across the codebase
- describe side effects lazily, so programs can be composed without performing them immediately 

The library is dependency-free and provides a stack-safe effect system with explicit execution, contract validation and
deliberately separate synchronous and asynchronous runtimes.

The effect system also supports composable error handling, scoped finalization and retry semantics.

Full documentation is available at the link: https://github.com/msuhov1988/Mafunca
