Self-describing numbers: Difference between revisions
Content added Content deleted
(→{{header|Haskell}}: Minor consolidation of output into single pruned list) |
(→{{header|Haskell}}: Added output) |
||
Line 829: | Line 829: | ||
(print . concat) $ |
(print . concat) $ |
||
map decimalize . filter isSelfDescribing . allBaseNNumsOfLength <$> [1 .. 7]</lang> |
map decimalize . filter isSelfDescribing . allBaseNNumsOfLength <$> [1 .. 7]</lang> |
||
{{Out}} |
|||
<pre>[1210,2020,21200,3211000]</pre> |
|||
=={{header|Icon}} and {{header|Unicon}}== |
=={{header|Icon}} and {{header|Unicon}}== |