Problem: Roman Numbers
Code: Roman+Numbers/tails_1706933055
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 | : | append | [[chr]] | ||
* 1 | . | map | [[chr]] | ||
** 2 | `* | nary cartesian product | [[[chr]]] | ||
*** 3 | . | map | [[[chr]]] | ||
**** 4 | "DCM""LXC""VIX" | string list | [[chr]] | ||
**** 4 | . | map | [[chr]] | A:[chr] | |
***** 5 | \ | reverse | [int] | ||
****** 6 | `D | to base from data | [int] | ||
******* 7 | 54 | to base from data arg | null | ||
***** 5 | ! | zip with | [chr] | B:int | |
****** 6 | @ | = A | [chr] | ||
****** 6 | `@ | to base | [int] | C:chr | |
******* 7 | 3 | integer | int | ||
******* 7 | @ | = B | int | ||
****** 6 | = | zipop: subscript | null | ||
** 2 | + | concat | [chr] | D:[[chr]] | |
*** 3 | $ | = D | [[chr]] | ||
* 1 | "M" | string | [chr] |