Problem: Pandigital Roman Numerals

Code: Pandigital+Roman+Numerals/tails_1643878500

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)


Note: This code seems to be written in Nibbles version >= 0.21 and < 1.00

(implicit map) 
    `* (nary cartesian product) 
        . (map) 
            \ (reverse) 
                `/ (chunks of) 
                    ~ (auto = 2) 
                    "IVXLCDM" (string) 
            ^ (replicate) <--arg( A ) 
                1 (integer) 
                $ (= A) 
    % (split (remove empties)) <--arg( C B ) 
        (implicit arg = C) 
        (implicit arg = C) 

Back to the index