Problem: Morphism Sequence
Code: Morphism+Sequence/whio_1783620581
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)
=\ (scanl)
, (range from 1)
9 (integer)
? (if/else) <--arg( B A )
% (modulus)
, (length)
;$ (= fstLine)
~ (auto = 2)
`( (uncons) <--arg( C ) -->let( D )
% (split (remove empties))
;@ (= fstLine)
~ (auto = words)
"9" (string)
. (map) <--arg( F E )
@ (= E)
or (or) <--arg( G )
> (drop)
2 (integer)
/ (foldr1)
| (filter)
;$ (= D)
== (equal?) <--arg( H )
@ (= G)
/ (foldr1) <--arg( I )
@ (= H)
$ (= K) <--arg( K J )
$ (= M) <--arg( M L )
: (append) <--arg( N )
@ (= G)
~ (auto = [])