hs-dotnet-0.4.0: Pragmatic .NET interop for Haskell

The hs-dotnet package

hs-dotnet integrates the .NET platform with Haskell (via GHC.)

It lets you interact with .NET code and libraries, providing full access to .NET objects in a type-safe manner. This also includes parameterized .NET types (generic types), representing them in a manner natural to Haskell.

Dually, Haskell functions can be accessed and called from .NET, hs-dotnet transparently exposing these as delegates for you. Two example uses of this facility are the use of Haskell when programming LINQ and in Windows Forms UIs. Here's how to fire up an example program accessing LINQ:

 c:\haskell> cd examples
 c:\haskell> ghci LinqQuery.hs
 ....
 LinqQuery> whereQuery

The package also includes tool support for automatically generating Haskell wrappers and types to .NET classes. The package assumes at least v2.0 of the .NET framework.

More info on package and its features at http://haskell.forkIO.com/dotnet

Properties

Versions0.3.0, 0.3.1, 0.4.0
Dependenciesbase (<3), ghc-prim or
base (≥4), ghc-prim
LicenseBSD3
AuthorSigbjorn Finne <sof@forkIO.com>
MaintainerSigbjorn Finne <sof@forkIO.com>
Category.NET
Upload dateSat Apr 18 20:35:18 UTC 2009
Uploaded bySigbjornFinne
Build failureghc-6.10 (log), ghc-6.12 (log), ghc-7.0 (log)

Modules

Downloads