
On the Dynamic Extent of Delimited Continuations
Author(s) -
Dariusz Biernacki,
Olivier Danvy
Publication year - 2005
Publication title -
brics report series
Language(s) - English
Resource type - Journals
eISSN - 1601-5355
pISSN - 0909-0878
DOI - 10.7146/brics.v12i2.21868
Subject(s) - alias , tree traversal , computer science , operator (biology) , control (management) , stack (abstract data type) , point (geometry) , queue , programming language , mathematics , arithmetic , geometry , biochemistry , chemistry , repressor , database , artificial intelligence , transcription factor , gene
We show that breadth-first traversal exploits the difference between the static delimited-control operator shift (alias S) and the dynamic delimited-control operator control (alias F). For the last 15 years, this difference has been repeatedly mentioned in the literature but it has only been illustrated with one-line toy examples. Breadth-first traversal fills this vacuum. We also point out where static delimited continuations naturally give rise to the notion of control stack whereas dynamic delimited continuations can be made to account for a notion of 'control queue'.