hexletpairs 0.1.2
hexlet-pairs
A SICP'ish Functional Pairs implemented in Python.
Usage
>>> from hexlet import pairs
>>> p = pairs.cons(42, 'foo')
>>> pairs.is_pair(p)
True
>>> pairs.car(p)
42
>>> pairs.cdr(p)
'foo'
>>> print(pairs.to_string(p))
(42, 'foo')
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.