Repeat a string: Difference between revisions

m
Unicon/Icon consistency 2
m (Unicon/Icon consistency 2)
m (Unicon/Icon consistency 2)
Line 217:
<lang haskell>replicate 5 '*'</lang>
 
=={{header| Icon}} and Unicon ==
==={{header|Icon}}===
The procedure <tt>repl</tt> is a supplied function in Icon and Unicon.
<lang Icon>procedure main(args)
Line 227 ⟶ 228:
return ns
end</lang>
==={{header|Unicon}}===
This Icon solution works in Unicon.
 
=={{header|J}}==
Anonymous user