Problem: Life Liberty and Property

Code: Life+Liberty+and+Property/tails_1681268499

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)


. (map) 
    - (diff) 
        `$ (uniq) 
            `< (sort) 
                ; (save) -->let( A ) 
                    \ (reverse) 
                        ;_ (= allInput) 
        ".\n" (string) 
    ~ (tuple) <--arg( B ) 
        ; (save) -->let( H ) 
            + (sum) 
                ! (zip with) 
                    > (drop) 
                        22 (integer) 
                        \ (reverse) 
                            `@ (to base) 
                                ~ (auto) 
                                `* (product) 
                                    : (append) 
                                        + (add) 
                                            ^ (pow) 
                                                ~ (auto) 
                                                21 (integer) 
                                            : (append) 
                                                1 (integer) 
                                                _ (= fstInt) 
                                        `@ (from base) 
                                            ~ (auto) 
                                            . (map) 
                                                \ (reverse) 
                                                    @ (= A) 
                                                == (equal?) <--arg( C ) 
                                                    $ (= C) 
                                                    _ (= B) <--arg( D ) 
                    _ (= A) <--arg( E ) 
                    ~ (zipop: by) 
                    ? (index) <--arg( G F ) 
                        < (take) 
                            $ (= G) 
                            "." (string) 
                        @ (= F) 
        ^ (replicate) 
            $ (= H) 
            @ (= B) 

Back to the index