Logo

Programming-Idioms

  • VB
  • C#
  • Haskell
elements.Select(x => x*c)
map (*c) elements

(*c) is a shorthand for the lambda (\e -> e * c)
for E of elements loop
   E := E * c;
end loop;

New implementation...
< >
Bzzzzzzzzz