Problem: check digit of CAS registration number

Code: check+digit+of+CAS+registration+number/whio_1758168463

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)


% (modulus) 
    + (sum) 
        `@ (to base) 
            ; (save) -->let( A ) 
                10 (integer) 
            `r (read int) 
                + (concat) 
                    `\ (special scans) 
                        | (filter) 
                            _ (= fstLine) 
                            \ (char class) <--arg( B ) 
                                $ (= B) 
                                d (isDigit) 
                        : (foldop: cons) 
    (implicit arg = A) 

Back to the index