[Haskell-cafe] SoC project: Python-Haskell bridge - request for feedback

Dan Weston westondan at imageworks.com
Mon Mar 24 18:29:51 EDT 2008


Bulat Ziganshin wrote:
> Hello Michal,
> 
> Monday, March 24, 2008, 11:38:07 PM, you wrote:
> 
>> Python-Haskell bridge
> 
> seems interesting

This is indeed interesting for those (like me) wanting to introduce 
Haskell stealthily into a Python-based facility: essentially, leave the 
IO monad in Python but invoke non-IO Haskell functions.

>> Benefits for Haskell
> 
> you forget about ability to use Python as scripting language inside
> Haskell programs. look at HsLua library as example of this

This is much less interesting for those (like me) who, once in Haskell, 
don't feel the least inclined to go back to Python. Missing libraries in 
Haskell (for my applications) are usually also missing in Python and 
need FFI to some (usually numeric) library written in C/C++ anyway. Why 
do data marshalling twice?

Dan



More information about the Haskell-Cafe mailing list