tasks a-s
This commit is contained in:
parent
47bf37c096
commit
b83f433714
12433 changed files with 156208 additions and 123 deletions
9
Task/Queue-Usage/Logo/queue-usage.logo
Normal file
9
Task/Queue-Usage/Logo/queue-usage.logo
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
make "fifo []
|
||||
print empty? :fifo ; true
|
||||
queue "fifo 1
|
||||
queue "fifo 2
|
||||
queue "fifo 3
|
||||
show :fifo ; [1 2 3]
|
||||
print dequeue "fifo ; 1
|
||||
show :fifo ; [2 3]
|
||||
print empty? :fifo ; false
|
||||
Loading…
Add table
Add a link
Reference in a new issue