Grscheller.fp

Latest version: v1.2.0

Safety actively analyzes 723177 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.3.5.1

* New module `grscheller.fp.nothingness` for
* Singleton `noValue` representing a missing value
* similar to `None` but while
* `None` represent "returned no values"
* `noValue: _NoValue = _NoValue()` represents an absent value
* mostly used as an implementation detail
* allows client code to use `None` as a sentinel value
* prefer class `MB` to represent a missing value in client code

0.3.4.0

* API change for fp.iterables
* function name changes
* `foldL`, `foldR`, `foldLsc`, `foldRsc`
* `sc` stands for "short circuit"
* all now return class woException.MB

0.3.3.7

* added more functions to fp.iterables module
* take(it: Iterable[D], n: int) -> Iterator[D]
* takeWhile(it: Iterable[D], pred: Callable[[D], bool]) -> Iterator[D]
* drop(it: Iterable[D], n: int) -> Iterator[D]
* dropWhile(it: Iterable[D], pred: Callable[[D], bool]) -> Iterator[D]

0.3.3.4

* fp.iterables `foldL_sc` & `foldR_sc` now have
* common paradigm
* similar signatures

0.3.3.3

* added fp.iterables function `foldR_sc`
* shortcut version of `foldR`
* not fully tested
* docstring not updated

0.3.3.2

* added fp.iterables function `foldL_sc`
* shortcut version of foldL

Page 2 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.