Object-oriented programming language with Haskell-like syntax