From 34ac05a9e7e4bbb6906f8b85862a6b0a36d68d2e Mon Sep 17 00:00:00 2001 From: Daisuke Fujimura Date: Sat, 20 Jun 2020 13:17:12 +0900 Subject: Fix symbol concatenation example in Smalltalk --- smalltalk.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'smalltalk.html.markdown') diff --git a/smalltalk.html.markdown b/smalltalk.html.markdown index d6d369cc..58dccae4 100644 --- a/smalltalk.html.markdown +++ b/smalltalk.html.markdown @@ -388,7 +388,7 @@ y := $A max: $B. ```smalltalk | b x y | x := #Hello. "symbol assignment" -y := 'String', 'Concatenation'. "symbol concatenation (result is string)" +y := #Symbol, #Concatenation. "symbol concatenation (result is string)" b := x isEmpty. "test if symbol is empty" y := x size. "string size" y := x at: 2. "char at location" -- cgit v1.2.3