Problem: picket fence

Code: picket+fence/tails_1716872241

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 map) 
    : (append) 
        "  _ " (string) 
        : (append) 
            . (map) 
                ^ (replicate) 
                    2 (integer) 
                    "__  " (string) 
                : (append) <--arg( A ) 
                    $ (= A) 
                    "| |" (string) 
            ^ (replicate) 
                4 (integer) 
                "\'" (string) 
    * (join) <--arg( C B ) 
        ^ (replicate) 
            11 (integer) 
            `( (uncons) -->let( D ) 
                $ (= C) 
        \ (reverse) 
            : (append) 
                : (append) 
                    `: (list of 2 lists) 
                        @ (= C) 
                        @ (= C) 
                    (implicit arg = D) 
                (implicit arg = D) 

Back to the index