For the complete documentation index, see llms.txt. This page is also available as Markdown.

Usage

var f = FIFO()
say f.empty         # true
f.push('foo')
f.push('bar', 'baz')
say f.pop           # foo
say f.empty         # false
 
var g = FIFO('xxx', 'yyy')
say g.pop           # xxx
say f.pop           # bar

Last updated