1.3 KiB
1.3 KiB
Hints
General
- Read the official documentation for ranges.
1. Define the rank range
- There is a special operator for creating ranges.
2. Define the file range
- There is a special operator for creating ranges.
- There is a special syntax to write a character code point without explicitly knowing its value.
3. Transform the rank range into a list of ranks
- Ranges implement the
Enumerable
protocol. - There is a built-in function to change an enumerable data structure to a list.
4. Transform the file range into a list of files
- Ranges implement the
Enumerable
protocol. - There is a built-in function to change an enumerable data structure to a list while modifying its elements.
- The bitstring special form can be used to turn a code point into a string.