Problem: PHP Array Addition

Code: PHP+Array+Addition/tails_1732599020

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)


(implicit foldl1) 
    % (split (remove empties)) 
        @ (= fstLine) 
        " +" (string) 
    : (append) <--arg( B A ) 
        << (init) 
            @ (= A) 
        > (drop) 
            [ (min) 
                , (length) 
                    @ (= A) 
                - (subtract) 
                    , (length) 
                        $ (= B) 
                    ~ (auto = 1) 
            (implicit arg = B) 

Back to the index