This package browser is in early development. Mind the rough edges.

python-ilinkedlist

Immutable linked list library

This is a implementation of immutable linked lists for Python. It contains nil (the empty linked list) and a Pair class for nodes. Since a linked list is treated as immutable, it is hashable, and its length can be retrieved in constant time. Some of the terminology is inspired by LISP. It is possible to create an improper list by creating a Pair with a non-list cdr.

Installation

Install the latest version of python-ilinkedlist as follows:

guix install python-ilinkedlist

Or install a particular version:

guix install python-ilinkedlist@0.4.0-0.b5ea3f6

You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell documentation for more information.

Badge code

You can use the following badge to inform users of python-ilinkedlist about the latest version available in Guix.

Example HTML:

<a href='https://packages.guix.gnu.org/packages/python-ilinkedlist'><img src='https://packages.guix.gnu.org/packages/python-ilinkedlist/badges/latest-version.svg' alt='Version in GNU Guix'></a>

Example Markdown:

[![Version in GNU Guix](https://packages.guix.gnu.org/packages/python-ilinkedlist/badges/latest-version.svg)](https://packages.guix.gnu.org/packages/python-ilinkedlist)

Example Org:

[[https://packages.guix.gnu.org/packages/python-ilinkedlist][https://packages.guix.gnu.org/packages/python-ilinkedlist/badges/latest-version.svg]]