Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
15
Task/Enumerations/Arturo/enumerations.arturo
Normal file
15
Task/Enumerations/Arturo/enumerations.arturo
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
enum: [apple banana cherry]
|
||||
print "as a block of words:"
|
||||
inspect.muted enum
|
||||
|
||||
enum: ['apple 'banana 'cherry]
|
||||
print "\nas a block of literals:"
|
||||
print enum
|
||||
|
||||
enum: #[
|
||||
apple: 1
|
||||
banana: 2
|
||||
cherry: 3
|
||||
]
|
||||
print "\nas a dictionary:"
|
||||
print enum
|
||||
Loading…
Add table
Add a link
Reference in a new issue