summaryrefslogtreecommitdiffhomepage
path: root/smalltalk.html.markdown
diff options
context:
space:
mode:
authorDaisuke Fujimura <me@fujimuradaisuke.com>2020-06-20 13:17:12 +0900
committerGitHub <noreply@github.com>2020-06-20 13:17:12 +0900
commit34ac05a9e7e4bbb6906f8b85862a6b0a36d68d2e (patch)
tree75148768f86d0e3713e61764fd86d09e7f1fcf0f /smalltalk.html.markdown
parentef0480286342219c7a592926660018534f5af12a (diff)
Fix symbol concatenation example in Smalltalk
Diffstat (limited to 'smalltalk.html.markdown')
-rw-r--r--smalltalk.html.markdown2
1 files changed, 1 insertions, 1 deletions
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"