Skip to content
Alessandro Lacava
  • Home
  • Blog
  • Articles
  • Talks

Tag 2 posts

Function

Writing about Function.

Scala23 Oct 2015

Scala: Seq, Map and Set as functions

Yesterday my mate asked me: "I have a List[String] and a Map[String, Int] and I want a List[Int] whose values come from the Map whose keys match the List[String] elements, maintaining the…

Read article ↗
JavaScript14 Jun 2006

The Function class in JavaScript

Most programmers know how to define and use a function in JavaScript. For example, the following function displays an alert containing the string passed in as a parameter: How many…

Read article ↗
Alessandro Lacava

Software, words, and the ideas in between.

GitHub ↗LinkedIn ↗X / Twitter ↗Email ↗
© 2026 Alessandro Lacava
RSS feedPrivacy and cookies