/LazyPython

Library for functional programming

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

LazyPython

codecov CircleCI

Library for Pure Functional Programming

Usage

from lazy.effect import lazy

@lazy
def sum(a, b):
    return a + b

sum_effect = sum(2, 4)
sum_effect.execute # 2 + 4

Test

pytest --cov-report term-missing --cov=lazy

Logo

Image