Problem: One Pass of Bubble Sort

Code: One+Pass+of+Bubble+Sort/tails_1644299523

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] 
    \ (reverse):[chr] 
        / (foldr):[chr] 
            \ (reverse):[chr] 
                @ (= fstLine):[chr] 
            "\n" (string):[chr] <--arg( B:chr A:chr ) 
            : (append):[chr] <--arg( D:chr C:[chr] ) 
                \ (reverse):[chr] 
                    `< (sort):[chr] 
                        : (append):[chr] 
                            `( (uncons):chr -->let( E:[chr] ) 
                                @ (= C):[chr] 
                            @ (= D):chr 
                $ (= E):[chr] 

Back to the index