kozily / admin

Tasks, project documentation and wiki repository
0 stars 0 forks source link

Issue with print using cons'es #160

Closed andres-arana closed 6 years ago

andres-arana commented 6 years ago

When having nested cons'es, either literal or values, the print logic assumes that it's a complete list and tries to print it. This is wrong, as as cons is only a complete list if all the tails in all the nested cons'es are lists. This includes the last cons.

See for example the error that raises when you print 1|2|T.