Test
This commit is contained in:
11
node_modules/shiki/samples/smalltalk.sample
generated
vendored
Normal file
11
node_modules/shiki/samples/smalltalk.sample
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
exampleWithNumber: x
|
||||
| y |
|
||||
true & false not & (nil isNil) ifFalse: [self halt].
|
||||
y := self size + super size.
|
||||
#($a #a 'a' 1 1.0)
|
||||
do: [ :each |
|
||||
Transcript show: (each class name);
|
||||
show: ' '].
|
||||
^x < y
|
||||
|
||||
"From https://en.wikipedia.org/wiki/Smalltalk"
|
||||
Reference in New Issue
Block a user