Problem: last non zero
Code: last+non+zero/darrenks_1644075186
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 | * | join | [chr] | ||
| * 1 | " " | string | [chr] | ||
| * 1 | | | filter | [int] | ||
| ** 2 | . | map | [int] | ||
| *** 3 | %~ | split by | [[int],[int]] | ||
| **** 4 | _ | = ints | [int] | ||
| **** 4 | $ | = A | int | A:int | |
| *** 3 | / | foldr1 | int | C:[int] B:[int] | |
| **** 4 | \ | reverse | [int] | ||
| ***** 5 | | implicit arg = C | [int] | ||
| **** 4 | | implicit arg = E | int | E:int D:int | |
| ** 2 | | implicit arg = F | int | F:int |