Tutorial on integrating C++ and Haskell