c++/haskell