YAPC::EU 2018 Glasgow Update!
This commit is contained in:
parent
22f33d4004
commit
4e2d22a71d
1170 changed files with 15042 additions and 3047 deletions
|
|
@ -1,7 +1,9 @@
|
|||
let myQueue = Queue[Str]()
|
||||
myQueue.push 'foo'
|
||||
myQueue.push 'bar'
|
||||
myQueue.push 'baz'
|
||||
print myQueue.pop() # 'foo'
|
||||
print myQueue.pop() # 'bar'
|
||||
print myQueue.pop() # 'baz'
|
||||
let my_queue = Queue[Str]()
|
||||
|
||||
my_queue.push! 'foo'
|
||||
my_queue.push! 'bar'
|
||||
my_queue.push! 'baz'
|
||||
|
||||
print my_queue.pop() # 'foo'
|
||||
print my_queue.pop() # 'bar'
|
||||
print my_queue.pop() # 'baz'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue