Open behrica opened 9 years ago
Huh, that's extremely odd! I can't imagine what could be wrong here ... I'll take a look in the debugger and see what's going on.
Note to self: this should probably be fixed alongside #170, as the way segment output is stored and handled needs to be improved.
FWIW I've been using Gorilla REPL for years without noticing this, but I just had some students stumble into it and get quite confused. If you're learning the language by putting a bunch of expressions in the same cell and expecting to see all of the results in the output area, then the suppression of duplicate values can be extra baffling because you may think that the first non-supressed value is really the return value from a preceding expression that should have produced a duplicate of an earlier value.
I notice that supplicated outputs are suppressed. So evaluating:
shows:
instead of:
I only fails, if they duplicationss follow directly on-after-the-other. This case works as expected: