Coverage for src / pyfplib / __init__.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.13.2, created at 2026-02-04 23:48 +0300

1# SPDX-FileCopyrightText: 2026-present Comet11x 

2# SPDX-License-Identifier: MIT 

3 

4from pyfplib.either import Either, Left, Right 

5from pyfplib.functions import all_of, any_of, fold, for_each, head, is_empty, is_not_empty, last, none_of, tail 

6from pyfplib.option import Nothing, Option, Some 

7from pyfplib.result import Err, Ok, Result 

8 

9__all__ = ( # noqa: PLE0604 

10 Either.__name__, 

11 Err.__name__, 

12 Left.__name__, 

13 Nothing.__name__, 

14 Ok.__name__, 

15 Option.__name__, 

16 Result.__name__, 

17 Right.__name__, 

18 Some.__name__, 

19 all_of.__name__, 

20 any_of.__name__, 

21 none_of.__name__, 

22 fold.__name__, 

23 for_each.__name__, 

24 head.__name__, 

25 tail.__name__, 

26 last.__name__, 

27 is_empty.__name__, 

28 is_not_empty.__name__, 

29)