Inline ++to-list.

This commit is contained in:
Elliot Glaysher 2017-09-27 22:08:40 -07:00
parent 1d8614f2ee
commit 37f65c099d

View File

@ -1254,9 +1254,14 @@
+|
::
++ to-list
:> todo: copy over or something.
:> creates a list of pairs from the tree.
|* a/(map)
~(tap by a)
=| b/(list _n.-.a)
|-
^+ b
?~ a
b
$(a r.a, b [n.a $(a l.a)])
::
++ from-list
:> creates a tree from a list.