Problem: Updown numbers
Code: Updown+numbers/darrenks_1645714448
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 | | | filter | [int] | ||
* 1 | , | range from 1 | [int] | ||
** 2 | * | multiply | int | ||
*** 3 | ;$ | = sndInt | int | ||
*** 3 | $ | = fstInt | int | ||
* 1 | == | equal? | int | A:int | |
** 2 | : | append | [int] | ||
*** 3 | -1 | integer | int | ||
*** 3 | 1 | integer | int | ||
** 2 | . | map | [int] | B:[int] | |
*** 3 | `= | chunk by | [[int]] | ||
**** 4 | ! | zip with | [int] | ||
***** 5 | ; | save | [chr] | C:[chr] | |
****** 6 | `p | int to str | [chr] | ||
******* 7 | @ | = A | int | ||
***** 5 | >> | tail | [chr] | D:chr | |
****** 6 | @ | = C | [chr] | ||
***** 5 | - | zipop: sub | null | ||
**** 4 | $ | = E | int | E:int | |
*** 3 | / | foldr1 | int | F:[int] | |
**** 4 |
| implicit arg = F | [int] | ||
**** 4 |
| implicit arg = H | int | H:int G:int |