Code to call haskell from python without writing c