gorilla-repl
gorilla-repl copied to clipboard
multiple values are stored and reloaded
When a segment produces multiple values, the values are consistently shown, stored, and reloaded. The patch detects when a value is added to the segment which already produced a value, and builds a list-like structure containing both values and rendered appropriately. This resolves issue #170.
Thanks :-) I can't decide yet whether using the list-like construction is an elegant work of genius, or a bit of a hack! It's certainly a very neat and minimal way to solve the problem. I'll give it a bit more thought when I have some time to spend on Gorilla, and get this into the next release.
Just to justify the list-like consturction: its just lisp's cons.