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
.
System | Target | Derivation | Build status |
---|---|---|---|
x86_64-linux | /gnu/store/p8bhx78glmpricdzd6jlil5dvg0bmjlz-python-ilinkedlist-0.4.0.drv | ||
mips64el-linux | /gnu/store/lwkl18kpvchvbb8ap9jvv0wgcbzp3r0j-python-ilinkedlist-0.4.0.drv | ||
i686-linux | /gnu/store/7aqkpz1nympins51wb9rv6lqjxli6ycq-python-ilinkedlist-0.4.0.drv | ||
armhf-linux | /gnu/store/agypkxxi4qha1zsrj64ax7mcd3zfl2mx-python-ilinkedlist-0.4.0.drv | ||
aarch64-linux | /gnu/store/s2ly9j25vnrjhd0ymgb3p9pgkxxscxh3-python-ilinkedlist-0.4.0.drv |
Linter | Message | Location |
---|---|---|
derivation Report failure to compile a package to a derivation | failed to create i686-linux derivation: path ‘/gnu/store/1i4cggsgw64gvb4yyp8zcy97xg9xbr9r-python-attrs-bootstrap-19.1.0.drv’ is not valid | |
derivation Report failure to compile a package to a derivation | failed to create armhf-linux derivation: path ‘/gnu/store/132aqp4qjfys7abpr30jklkd33dl5lc1-patch-2.7.6.drv’ is not valid | |
derivation Report failure to compile a package to a derivation | failed to create aarch64-linux derivation: path ‘/gnu/store/09hhdxcfrm56afpglx3ff2dj4ibfl92x-sed-4.7.drv’ is not valid | |
derivation Report failure to compile a package to a derivation | failed to create mips64el-linux derivation: path ‘/gnu/store/110f2jlvf1bgwppx81sa07nc53c5v7vd-gzip-1.10.drv’ is not valid |