Modulinos: Difference between revisions
Content added Content deleted
Line 1,630: | Line 1,630: | ||
=={{header|Scala}}== |
=={{header|Scala}}== |
||
[[Category:Scala Implementations]] |
|||
{{libheader|Scala}} |
|||
===Unix version=== |
===Unix version=== |
||
<lang bash>#!/bin/sh |
<lang bash>#!/bin/sh |
||
Line 1,661: | Line 1,663: | ||
List(42, 21, 64, 32, 16, 8, 4, 2, 1) |
List(42, 21, 64, 32, 16, 8, 4, 2, 1) |
||
It has 9 elements.</pre> |
It has 9 elements.</pre> |
||
=={{header|Tcl}}== |
=={{header|Tcl}}== |
||
<lang tcl>proc main {args} { |
<lang tcl>proc main {args} { |