Cool. Slightly annoying is that your interop is weak typed, and performance might suffer because it will be using .NET reflection all the time I guess. Do you know the Salsa binding for .NET? This aims to do strong typing. Maybe both efforts could be combined.

On Sat, Apr 18, 2009 at 10:44 PM, Sigbjorn Finne <sigbjorn.finne@gmail.com> wrote:

A new version of a Haskell .NET interop layer, hs-dotnet, has just been released
and is now available for download,

  http://haskell.forkIO.com/dotnet

It lets you access .NET functionality from Haskell and vice versa. Tool support
is included in this release to aid such interop.
 The new version includes development done since the start of the year. Apart
from rewriting the internals completely to put it all on a sounder footing, this
release includes proper support for .NET generic types (classes and interfaces),
mapping them naturally on to Haskell parameterized types.

The support for generics enables for instance mixed Haskell-.NET LINQ programming;
see the distribution for examples of this along with some other interesting applications of
the hs-dotnet interop layer.

enjoy
--sigbjorn

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe