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.
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
.