rcl/etc
Ruud van Asseldonk 5c5e90fc60 Add List.enumerate method
I've found I needed this in a few places. You can already do it by
iterating over std.range:

    [for i, v in xs.enumerate(): ...]

is equivalent to

    [
      for i in std.range(0, xs.len()):
      let v = xs[i];
      ...
    ]

but having it built-in is just slightly more convenient. It's a bit of a
shame that we have to construct the entire dict just to iterate over it,
but the focus of RCL right now is not performance.
2024-02-10 14:37:28 +01:00
..
pygments Add List.enumerate method 2024-02-10 14:37:28 +01:00
rcl.vim Add String.replace builtin method 2024-01-30 21:22:44 +01:00