Skip to main content

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')

Release files for hexlet-pairs 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hexlet-pairs 0.1.2
File Size Uploaded
hexlet-pairs-0.1.2.tar.gz 2.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hexlet-pairs 0.1.2
File Interpreter ABI Platform
hexlet_pairs-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 4.7 kB

Release files / hexlet-pairs-0.1.2.tar.gz

Download URL hexlet-pairs-0.1.2.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4b719ba487d3b816a7fa5ddcf57b0b63dc4ee29d346ca86ec36581b47f6647b9
BLAKE2b-256 checksum
How to use checksums
6b5e498dce8587226688eaa46b5de15b41664a08e39d8705fd0bba71d462f0df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.17 CPython/3.6.8 Linux/4.15.0-55-generic

Release files / hexlet_pairs-0.1.2-py3-none-any.whl

Download URL hexlet_pairs-0.1.2-py3-none-any.whl
Size 2.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ed54a39437c0a131cceb6f88af4edf902a42cdcfc8a9401205791381233aba4d
BLAKE2b-256 checksum
How to use checksums
0af7ef7ef9b3420ca82e077e5df78eaf762bf42e1d88b6a373214550dd857bcb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.17 CPython/3.6.8 Linux/4.15.0-55-generic

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page