RosettaCodeData/Task/Interactive-programming-repl-/Smalltalk/interactive-programming-repl--2.st

10 lines
185 B
Smalltalk
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
$ stx --repl
Welcome...
STX> |concat|\
concat := [ :a :b :c | (a,c,c,b) displayNl ].\
concat value: 'Rosetta' value: 'Code' value: ':'.
Rosetta::Code
-> (Answer): 'Rosetta::Code'
STX>