[Haskell-cafe] ANNOUNCE: Salsa: A .NET Bridge for Haskell
andrew.appleyard at gmail.com
Fri Oct 10 08:12:33 EDT 2008
I'd like to announce the first release of Salsa, an experimental Haskell
library that allows Haskell programs to access .NET libraries.
Here's a taste:
> type Hello.hs
main = withCLR $ do
_Console # _writeLine ("Hello .NET World!")
> type Hello.imports
Hello .NET World!
Salsa operates by loading the .NET runtime into your Haskell process and
using the FFI (and run-time code generation) to marshall calls between
the .NET and Haskell runtimes. It includes a code generator and a
type-level library (which uses type families) to provide type-safe
access to .NET libraries in Haskell with C#-style method overload
resolution and implicit conversions.
The adventurous can find version 0.1.0.1 of Salsa on Hackage , the
darcs repository on code.haskell.org , and some (limited)
documentation on the Haskell wiki .
The library is experimental and by no means complete (refer to the wiki
page  for some of its limitations). Be prepared to end up with
incomprehensible error messages and/or a broken compiler! :-)
At the moment you'll need Windows, GHC 6.8, and version 3.5 of the .NET
Framework to use it.
More information about the Haskell-Cafe