Problem: Rock Around the Clock

Code: Rock+Around+the+Clock/tails_1739332911

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 string concatenation) 
    (implicit map) 
        `/ (chunks of) 
            ~ (auto = 2) 
            `/ (chunks of) 
                ~ (auto = 2) 
                % (split (remove empties)) 
                    @ (= fstLine) 
                    ~ (auto = words) 
        : (append) <--arg( B A ) 
            / (foldr1) 
                $ (= B) 
                : (append) <--arg( D C ) 
                    $ (= D) 
                    . (map) 
                        @ (= C) 
                        : (append) <--arg( F ) 
                            - (diff) 
                                $ (= F) 
                                "," (string) 
                            " o\'clock," (string) 
            "rock" (string) 
    ;;;$ (= sndLine) <--arg( H G ) 

Back to the index