Scala?
Scala?
There is actually a really interesting (to me) discussion going on about where Scala sits on the Intersection of Java,ML & Haskell going on in the r/Scala subreddit at the moment:
https://www.reddit.com/r/scala/comments/5sv1w5/the_divergenc...
I was/am expecting Haskell to be broadly similar to ML - what's the main way the two languages differ?
edit: never mind, from the reddit discussion you linked:
> while these languages are undoubtedly strongly typed, they are not referentially transparent by default, and actually embrace some levels of imperative programming.
Good read, thanks!
(first paragraphs and "influenced by")
https://www.quora.com/What-are-the-influences-of-the-ML-lang...
...
But Scala indeed is very similar to (1) OCaml and then (2) ML, and last, (3) Haskell in terms of type inference, syntax, and many other FP concepts [1].
(Short answer: No, because it has [to support] subtypes.)