Haskell does this. Basically languages that are following the ML style have this syntax including Haskell. You must not have experience with this family of languages at it is very common and a huge part of functional programming.
A good number of "functional programmers" only have experience with JavaScript these days.