Problem: Diamond Matrix
Code: Diamond+Matrix/tails_1645408803
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 |
| implicit map | [[chr]] | ||
* 1 | : | append | [int] | ||
** 2 | , | range from 1 | [int] | ||
*** 3 | $ | = fstInt | int | ||
** 2 | >> | tail | [int] | ||
*** 3 | \ | reverse | [int] | ||
**** 4 | , | range from 1 | [int] | ||
***** 5 | $ | = fstInt | int | ||
* 1 | : | append | [chr] | B:int A:int | |
** 2 | ^ | replicate | [chr] | ||
*** 3 | - | subtract | int | ||
**** 4 | _ | = fstInt | int | ||
**** 4 | $ | = B | int | ||
*** 3 | " " | string | [chr] | ||
** 2 | ^ | pow | int | ||
*** 3 | / | divide | int | ||
**** 4 | ^ | pow | int | ||
***** 5 | ~ | auto = 10 | auto | ||
***** 5 | $ | = B | int | ||
**** 4 | 9 | integer | int | ||
*** 3 | ~ | auto = 2 | auto |