Apply a callback to an array: Difference between revisions

m
→‎Icon and Unicon: header simplification
(→‎{{header|Erlang}}: -- Added Euphoria code + explanation)
m (→‎Icon and Unicon: header simplification)
Line 580:
amap square values</lang>
 
== {{header|Icon}} and {{header|Unicon }}==
==={{headerworks with|Unicon}}===
==={{header|Icon}}===
<lang icon>procedure main()
local lst
Line 591:
return p(" -> ", arg)
end</lang>
 
==={{header|Unicon}}===
This Icon solution works in Unicon. A solution that uses Unicon extensions has not been provided.
 
=={{header|IDL}}==
Anonymous user