The hs-dotnet package

[Tags: bsd3, library]

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
Downloads356 total (22 in last 30 days)

Modules

Flags

NameDescriptionDefault
old-baseOld, monolithic baseDisabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainers' corner

For package maintainers and hackage trustees