I do not get why (Yes I know it is because it is not in the syntax....
but it is conceptually not nice).
| d |
d := Dictionary new.
d at: #top at: #below1 put: 1.
d at: #top at: #below1 put: 2.
d at: #top at: #below1.
is not an expression in Pharo.
It means that I can manipulate
1 + 3,
x + 3 as an expression
but not a sequence.
So it forces me to use a block to convert artificially a sequence
in an expression.
[
| d |
d := Dictionary new.
d at: #top at: #below1 put: 1.
d at: #top at: #below1 put: 2.
d at: #top at: #below1.
] value
So if I want to build a repl executing expression then this is not a
Pharo repl but just a stupid expression.
I would like to know what would be impact to have sequence and
declaration as expression.
Stef