Coverage for src/monadc/option/__init__.py: 100%

4 statements  

« prev     ^ index     » next       coverage.py v7.10.2, created at 2025-08-19 20:24 -0700

1""" 

2Option monad for safe handling of nullable values. 

3 

4Scala-inspired Option type providing Some and Nil for functional programming patterns. 

5""" 

6 

7from .option import Option 

8from .some import Some 

9from .nil import Nil 

10 

11__all__ = ["Option", "Some", "Nil"]