Problem: 24 hour clock

Code: 24+hour+clock/tails_1669598554

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)


>> (tail):[[chr]] 
    . (map):[[chr]] 
        ;;$ (= intMatrix):[[int]] 
        * (join):[chr] <--arg( A:[int] ) 
            ":" (string):[chr] 
            >> (tail):[[chr]] 
                . (map):[[chr]] 
                    `@ (to base):[int] 
                        ; (save):int -->let( B:int ) 
                            60 (integer):int 
                        - (subtract):int 
                            302400 (integer):int 
                            `@ (from base):int 
                                $ (= B):int 
                                @ (= A):[int] 
                    >> (tail):[chr] <--arg( C:int ) 
                        `p (int to str):[chr] 
                            + (add):int 
                                ^ (pow):int 
                                    ~ (auto = 10):auto 
                                    ~ (auto = 2):auto 
                                (implicit arg = C):int 

Back to the index