Problem: Hard Exercise
Code: Hard+Exercise/tails_1673838928
Nibbles version: 0.2 | 0.21 | 0.22 | 0.23 | 0.24 | 0.25 | 1.00
Format: Compact | Simple | +Type | Table | JSON | .nbl (DeBruijn) | .nbl (names)
Depth | Lit | Desc | Type | Arg | Let |
---|---|---|---|---|---|
0 | `/ | chunks of | [[int]] | ||
* 1 | 3 | integer | int | ||
* 1 | ! | zip with | [int] | ||
** 2 | ; | let | [int] | A:[int] | |
*** 3 | ^ | replicate | [int] | ||
**** 4 | 3 | integer | int | ||
**** 4 | , | range from 1 | [int] | ||
***** 5 | 3 | integer | int | ||
** 2 | `< | sort | [int] | B:int | |
*** 3 | @ | = A | [int] | ||
** 2 | ~ | zipop: by | null | ||
** 2 | = | subscript (wrapped) | int | D:int C:int | |
*** 3 | `# | hashmod | int | ||
**** 4 | ;@ | = fstLine | [chr] | ||
**** 4 | 7 | hashmod arg | null | ||
*** 3 | : | append | [int] | ||
**** 4 | $ | = D | int | ||
**** 4 | : | append | [int] | ||
***** 5 | @ | = C | int | ||
***** 5 | + | add | int | ||
****** 6 | @ | = C | int | ||
****** 6 |
| implicit arg = D | int |