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

4 statements  

« prev     ^ index     » next       coverage.py v7.17.0, created at 2026-10-30 03:31 +0300

1# SPDX-FileCopyrightText: 2026-present Comet11x 

2# SPDX-License-Identifier: MIT 

3 

4# from pyfplib.either import Either, Left, Right 

5from pyfplib.functools import ( 

6 all_of, 

7 any_of, 

8 find, 

9 fold, 

10 for_each, 

11 head, 

12 index, 

13 is_empty, 

14 is_not_empty, 

15 last, 

16 none_of, 

17 tail, 

18) 

19 

20# from pyfplib.iterator import Iter 

21from pyfplib.option import Nothing, Option, Some 

22from pyfplib.result import Err, Ok, Result 

23 

24__all__ = ( # noqa: PLE0604 

25 Err.__name__, 

26 Nothing.__name__, 

27 Ok.__name__, 

28 Option.__name__, 

29 Result.__name__, 

30 Some.__name__, 

31 all_of.__name__, 

32 any_of.__name__, 

33 none_of.__name__, 

34 find.__name__, 

35 fold.__name__, 

36 for_each.__name__, 

37 head.__name__, 

38 tail.__name__, 

39 last.__name__, 

40 is_empty.__name__, 

41 is_not_empty.__name__, 

42 index.__name__, 

43)