There are many nice implementations of functiononal programming ideas in modern languages. Although underlying ideas are rather similar, function names may be quite different.
For example, currently in Kotlin and Scala (let’s ignore some syntax details for a monent) one can write typical filtering and transformation operations as:
collection.filter( it.something > 0 ).map( it.something )To perform the same thing in Jetbrains MPS SModel language, naming should be a little bit different:
I guess, it comes from C# where functions are called this way, but starting with capital letters: Where ans Select (apparently, follwing SQL language) In C++11 the two functions are called copy_if and transformcollection.where( it.something > 0 ).select( it.something )
My quiestion is, what sevres as a guideline for Kotlin naming of such functions and their type-signatures?
Scala? Google Guava? Haskell?