Vyxapedia

Element - ød - Run Length Decoding

Characters: ø, d


Description

Run length decoding, convert from list of characters and lengths to a string/list


Overloads

  • lst - run_length_decoded(a)

Examples

  • ⟨⟨`x`|3⟩⟩ ød = `xxx`
  • ⟨⟨`z`|2⟩|⟨`a`|3⟩⟩ ød = `zzaaa`
  • ⟨⟨2|`z`⟩|⟨3|`a`⟩⟩ ød = `zzaaa`
  • ⟨⟨1|2⟩|⟨2|3⟩|⟨3|5⟩⟩ ød = ⟨1|1|2|2|2|3|3|3|3|3⟩