in reply to (MeowChow) Re2: Golf: Indici to all sectors of an xD space
in thread Golf: Indici to all sectors of an xD space
UPDATEsub h{ #23456789_123456789_123456789_123456789_1234 eval'['.('map{[@$_,1],[@$_,-1]}'x pop).'[]]' }
and then strict alone in 39:sub h{ #23456789_123456789_123456789_123456789_123 [eval(('map{[@$_,1],[@$_,-1]}'x pop).'[]')] }
UPDATE 2sub h{ #23456789_123456789_123456789_123456789 [eval'map{[@$_,1],[@$_,-1]}'x pop.'[]'] }
sub h{ #23456789_123456789_123456789_123456789_ [eval'map{[@$_,1],[@$_,-1]}'x$_[0].'[]'] }
|
|---|