Problem: Modular Exponentiation
Code: Modular+Exponentiation/tails_1646227623
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 foldl1 | int | ||
* 1 | : | append | [int] | ||
** 2 | 2 | integer | int | ||
** 2 | , | range from 1 | [int] | ||
*** 3 | $ | = fstInt | int | ||
* 1 | % | modulus | int | B:int A:int | |
** 2 | ^ | pow | int | ||
*** 3 | @ | = A | int | ||
*** 3 | 10 | integer | int | ||
** 2 | ^ | pow | int | ||
*** 3 | ~ | auto = 10 | auto | ||
*** 3 | ;_ | = sndInt | int |