Problem: parity of numbers
Code: parity+of+numbers/tails_1642059506
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 | + | concat | [chr] | ||
| * 1 | . | map | [[chr]] | ||
| ** 2 | `, | range from 0 | [int] | ||
| *** 3 | 256 | integer | int | ||
| ** 2 | `p | int to str | [chr] | A:int | |
| *** 3 | % | modulus | int | ||
| **** 4 | + | sum | int | ||
| ***** 5 | `@ | to base | [int] | ||
| ****** 6 | 2 | integer | int | ||
| ****** 6 | $ | = A | int | ||
| **** 4 | ~ | auto = 2 | auto |