Problem: If youre happy and you know it

Code: If+youre+happy+and+you+know+it/darrenks_1643731738

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)


: (append):[[chr]] 
    : (append):[[chr]] 
        `: (list of 2 lists):[[chr]] 
            ; (save):[chr] -->let( B:[chr] ) 
                `< (take also drop):[chr] -->let( A:[chr] ) 
                    49 (integer):int 
                    * (join):[chr] 
                        " you" (string):[chr] 
                        % (split (remove empties)):[[chr]] 
                            : (append):[chr] 
                                "If\n\'" (string):[chr] 
                                `D (to base from data):[chr] 
                                    -33 (to base from data arg):null 
                            "\n" (string):[chr] 
            $ (= B):[chr] 
        : (append):[chr] 
            : (append):[chr] 
                < (take):[chr] 
                    33 (integer):int 
                    $ (= B):[chr] 
                @ (= A):[chr] 
            ";" (string):[chr] 
    $ (= B):[chr] 
(postdata (hex): to base from data)
1e943c0b7c51ba01e9e62966dc7ac21662f854433c45e1e14d223f4ccfd8951f1f65b8b31c9b8478
("re happy and\n know it, clap\nr hands!and\n really want to show it")

Back to the index