description¶
PyPI project pythonic-fp-splitends part of the pythonic-fp namespace projects.
For the version 1.0.0 release.
Mutable stack objects that can safely share data.
Python package Implementing a singularly linked LIFO queue
called a SplitEnd. These data structures can safely share
data nodes between themselves.
each
SplitEndis a very simple stateful (mutable) LIFO stackdata can be “extended” to or “snipped” off of the end (tip)
the “root” value of a
SplitEndis fixed and cannot be “snipped”different mutable split ends can safely share the same “tail”
each
SplitEndsees itself as a singularly linked listbush-like datastructures can be formed using multiple
SplitEndsthe
SplitEndcopy method andlenare O(1)in boolean context returns true if the
SplitEndis not just a “root”