Problem: prime powers
Code: prime+powers/tails_1645247976
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 | ; | save | [int] | A:[int] | |
** 2 | >> | tail | [int] | ||
*** 3 | , | range from 1 | [int] | ||
**** 4 | ;$ | = sndInt | int | ||
* 1 | ~ | not | null | ||
* 1 | % | modulus | int | B:int | |
** 2 | ^ | pow | int | ||
*** 3 | / | foldr1 | int | ||
**** 4 | | | filter | [int] | ||
***** 5 | @ | = A | [int] | ||
***** 5 | ~ | not | null | ||
***** 5 | % | modulus | int | C:int | |
****** 6 | @ | = B | int | ||
****** 6 |
| implicit arg = C | int | ||
**** 4 |
| implicit arg = E | int | E:int D:int | |
*** 3 |
| implicit arg = B | int | ||
** 2 |
| implicit arg = B | int |