Problem: its raining cats and dogs

Code: its+raining+cats+and+dogs/tails_1685365773

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):[[chr]] 
    + (concat):[[chr],int,[chr]] 
        =~ (group by (also sorts)):[[[chr],int,[chr]]] 
            ! (zip with):[[chr],int,[chr]] 
                `< (sort):[[chr],int] 
                    ! (zip with):[[chr],int] 
                        ;@ (= allLines):[[chr]] 
                        , (range from 1):[int] <--arg( A:[chr] ) 
                            ~ (auto = infinity):auto 
                        , (zipop: make tuple):null 
                + (concat):[[chr]] <--arg( C:[chr] B:int ) 
                    . (map):[[[chr]]] 
                        `\ (n chunks):[[chr]] 
                            ~ (auto = 2):auto 
                            `D (to base from data):[chr] 
                                -24 (to base from data arg):null 
                        `\ (special scans):[[chr]] <--arg( D:[chr] ) 
                            $ (= D):[chr] 
                            : (foldop: cons):null 
                , (zipop: make tuple):null 
            @ (= F):int <--arg( G:[chr] F:int E:[chr] ) 
    _ (= H):[chr] <--arg( J:[chr] I:int H:[chr] ) 
(postdata (hex): to base from data)
e226bed2e
("meowwoof")

Back to the index