To which language is Scala most similar from a functional programming perspective? -


  1. standard ml
  2. ocaml
  3. haskell
  4. some other

it similar in power of static type system haskell, though type inferencing severely hampered need support oo-style subtyping. scala lacks higher-rank polymorphism , impredicativity, both of haskell has. on other hand, scala's implicits-based type class mechanism, while more verbose haskell, more flexible.

there many axes on compare, of course; scala's evaluation semantics strict, of ml, whereas haskell lazy.


Comments

Popular posts from this blog

SAP Web Service from .NET via WCF -

email - PHP Mail Error "The Page at X Says: E-Mail can not be sent!" -

Optimized Line drawing in QT -