• Effekt Logo Effekt Library
    • control
      • Label
        • break
        • continue
      • loop
      • each
      • repeat
    • control
    • Jump to source: libraries/common/control.effekt
      Example usage: examples/stdlib/control
      • Label
        • break : Unit / {}
        • continue : Unit / {}
      • loop { f: {Label} => Unit }: Unit / {}
      • each (start: Int, end: Int) { action: (Int){Label} => Unit }
      • Calls provided action repeatedly with support for breaking. `start` is inclusive, `end` is not.
      • repeat (n: Int) { action: {Label} => Unit }