Module chalk_ir::fold::shift

source ยท
Expand description

Shifting of debruijn indices

Structsยง

  • DownShifter ๐Ÿ”’
    A shifter that reduces debruijn indices โ€“ in other words, which lifts a value out from binders. Consider this example:
  • Shifter ๐Ÿ”’
    A folder that adjusts debruijn indices by a certain amount.

Traitsยง

  • Methods for converting debruijn indices to move values into or out of binders.