Class: | functools.py |
---|---|
Assembly: | src.common |
File(s): | /home/runner/work/kata-python-minesweeper5/kata-python-minesweeper5/src/common/functools.py |
Covered lines: | 0 |
Uncovered lines: | 3 |
Coverable lines: | 3 |
Total lines: | 5 |
Line coverage: | 0% (0 of 3) |
Covered branches: | 0 |
Total branches: | 0 |
Tag: | 20_659826003 |
# | Line | Line coverage | ||
---|---|---|---|---|
0 | 1 | from itertools import chain | ||
2 |
| |||
3 |
| |||
0 | 4 | def flat_map(f, xs): | ||
0 | 5 | return map(f, chain.from_iterable(xs)) |