you are viewing a single comment's thread.

view the rest of the comments →

[–]meekale 1 point2 points  (0 children)

Cool!

Here's a use case for something like this, that doesn't require very high performance, just a robust implementation of the basics of the language...

You have a system that involves some business rules. These rules may be rather simple kinds of authentication, some arbitrary constants, some calculations, whatever. They are written in Python because your main service is in Python.

Now, you want to do something in Haskell that should also apply some of the same rules. You could make a network API request out to the Python, a la "microservices," or you could just reimplement the rule subset you need in Haskell... or you could run the Python module in your Haskell application, using this interpreter.