Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/Queue-Definition/Bracmat/queue-definition.bracmat
Normal file
10
Task/Queue-Definition/Bracmat/queue-definition.bracmat
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
( queue
|
||||
= (list=)
|
||||
(enqueue=.(.!arg) !(its.list):?(its.list))
|
||||
( dequeue
|
||||
= x
|
||||
. !(its.list):?(its.list) (.?x)
|
||||
& !x
|
||||
)
|
||||
(empty=.!(its.list):)
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue