Problem: Arithmetic derivative
Code: Arithmetic+derivative/tails_1696492229
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 | % | split (remove empties) | [[chr]] | ||
| ** 2 | @ | = fstLine | [chr] | ||
| ** 2 | ~ | auto = words | auto | ||
| * 1 | ? | if/else | [chr] | B:[chr] A:[chr] | |
| ** 2 | == | equal? | int | ||
| *** 3 | $ | = B | [chr] | ||
| *** 3 | ; | let | int | C:[chr] | D:int |
| **** 4 | r | read str at base | int | ||
| ***** 5 | @ | = B | [chr] | ||
| ***** 5 | 0 | integer | int | ||
| ** 2 | `. | iterate while uniq | [int,int] | E:int | |
| *** 3 | ~ | tuple | int,int | ||
| **** 4 | 0 | integer | int | ||
| **** 4 | @ | = D | int | ||
| *** 3 | | implicit tuple | int,int | G:int F:int | |
| **** 4 | ? | if/else | int | M:int | |
| ***** 5 | - | subtract | int | ||
| ****** 6 | ^ | pow | int | ||
| ******* 7 | @ | = F | int | ||
| ******* 7 | ~ | auto = 2 | auto | ||
| ****** 6 | ~ | auto = 1 | auto | ||
| ***** 5 | ~ | tuple | int,int | H:int | |
| ****** 6 | / | divide | int | ||
| ******* 7 | ;@ | = D | int | ||
| ******* 7 | ; | let | int | L:int | |
| ******** 8 | / | foldr1 | int | ||
| ********* 9 | | | filter | [int] | ||
| ********** 10 | >> | tail | [int] | ||
| *********** 11 | , | range from 1 | [int] | ||
| ************ 12 | ~ | auto = infinity | auto | ||
| ********** 10 | ~ | not | null | ||
| ********** 10 | % | modulus | int | I:int | |
| *********** 11 | ;$ | = F | int | ||
| *********** 11 | $ | = I | int | ||
| ********* 9 | $ | = K | int | K:int J:int | |
| ****** 6 | / | divide | int | ||
| ******* 7 | ;$ | = F | int | ||
| ******* 7 | $ | = L | int | ||
| ***** 5 | ~ | default | null | ||
| **** 4 | $ | = M | int | ||
| ** 2 | `D | to base from data | [chr] | ||
| *** 3 | -75 | to base from data arg | null |