# code: http://golf.shinh.org/reveal.rb?Updown+numbers/tails_1645720859&nbb # target Nibbles version: 0.24 # commenter version: 0.1.2.181 = #(subscript (wrapped)):[int] 40 #(integer):int =~ #(group by (also sorts)):[[int]] , #(range from 1):[int] ^ #(pow):int ~ #(auto = 10):auto 5 #(integer):int ~ #(nosort):null . #(map):[int] <--arg( A:int ) `= #(chunk by):[[int]] ! #(zip with):[int] ; #(save):[int] -->let( B:[int] ) `@ #(to base):[int] ~ #(auto = 10):auto $ #(= A):int >> #(tail):[int] <--arg( C:int ) @ #(= B):[int] - #(zipop: sub):null $ #(= D):int <--arg( D:int ) / #(foldr1):int <--arg( E:[int] ) #(implicit arg = E):[int] #(implicit arg = G):int <--arg( G:int F:int )