2 ms·
Elixir possibly has some of this flavour. If and switch are both expressions and return values. I dig it.
by fancy_hammer 5y ago
Elixir possibly has some of this flavour. If and switch are both expressions and return values. I dig it.
- kaba0 5y agoI think it is that way in almost every FP language (eg. Scala, Haskell, Kotlin, etc)