Integrating Python and Haskell

99 views Asked by At

I am writing a program that uses the sums of the reciprocals of factorials to approximate e. Due to Haskell's better implementation of recursion than object-oriented languages, I've used it for the computation aspect of the program. Is there any way that I can integrate Haskell and Python so that some Haskell functions are used while Python handles user input and output? Any help is appreciated.

edit: I found many of the solutions in the linked post a bit above me, but I've reworked the algorithm to use a while loop. Thank you for your suggestions!

0

There are 0 answers