Re: [Haskell-cafe] ANN: hs-dotnet, version 0.3.0

2009-01-15 Thread Yitzchak Gale
Sigbjorn Finne wrote:
 the first public release of hs-dotnet is now available

Fantastic accomplishment! I can only repeat dons' comment
- this could be game-changing.

Some obvious questions that come to mind:

We see that it is already possible to expose a Haskell function
to .NET as a callback. That's exciting! Can we go to the next step
and register it as part of an assembly?

Is it be possible for a running .NET app to fire
up the GHC runtime and call into compiled Haskell?

Is it possible at all for a .NET function not to have any side effects?
If so, is there any way to label it as such and then call it
from Haskell outside of the IO monad?

Thanks,
Yitz
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] ANN: hs-dotnet, version 0.3.0

2009-01-15 Thread Peter Verswyvelen
Nice!
Maybe efforts could be combined by integrating some of this work:

http://hackage.haskell.org/cgi-bin/hackage-scripts/package/Salsa

which statically types checks all the calls to DOTNET (emulates the C# type
system using type families, I found it nifty)


On Thu, Jan 15, 2009 at 12:14 PM, Yitzchak Gale g...@sefer.org wrote:

 Sigbjorn Finne wrote:
  the first public release of hs-dotnet is now available

 Fantastic accomplishment! I can only repeat dons' comment
 - this could be game-changing.

 Some obvious questions that come to mind:

 We see that it is already possible to expose a Haskell function
 to .NET as a callback. That's exciting! Can we go to the next step
 and register it as part of an assembly?

 Is it be possible for a running .NET app to fire
 up the GHC runtime and call into compiled Haskell?

 Is it possible at all for a .NET function not to have any side effects?
 If so, is there any way to label it as such and then call it
 from Haskell outside of the IO monad?

 Thanks,
 Yitz
 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe

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


Re: [Haskell-cafe] ANN: hs-dotnet, version 0.3.0

2009-01-15 Thread John Goerzen
Sigbjorn Finne wrote:
 Hi,
 
 the first public release of hs-dotnet is now available - a pragmatic
 take on interoperating between Haskell (via GHC) and .NET. For
 downloads and (some) info, see:
 
   http://hackage.haskell.org/cgi-bin/hackage-scripts/package/hs-dotnet
   http://haskell.forkIO.com/dotnet
 
 Feedback most welcome, both on what's there and what you would like
 to see better handled/supported next.

Nice!

Has there been any effort to support Mono?

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


Re: [Haskell-cafe] ANN: hs-dotnet, version 0.3.0

2009-01-15 Thread Sigbjorn Finne

On 1/15/2009 06:19, John Goerzen wrote:

Sigbjorn Finne wrote:
  

...




Nice!

Has there been any effort to support Mono?
  


Only in spirit so far. I'm keen to find the time to do it and
if it would directly help people having Mono as a deployment target,
even better.

thanks
--sigbjorn

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


Re: [Haskell-cafe] ANN: hs-dotnet, version 0.3.0

2009-01-15 Thread Sigbjorn Finne


Thanks Yitzchak,

I'm thinking and acting on having that available in your quiver  have 
prototyped
the ability to do so a couple of times in the past (stand-alone Haskell 
code as

fully fledged .NET classes/assemblies, both the dynamic and static kind.)

I didn't want to hold up the initial release to do this right now _and_ 
would really
like to get a better gauge at how important having that piece would be 
to users

looking to use Haskell in a .NET context.

There's only so much time it seems, but no shortage of interesting projects
to hack on :-)

cheers
--sigbjorn

On 1/15/2009 03:14, Yitzchak Gale wrote:

Sigbjorn Finne wrote:
  

the first public release of hs-dotnet is now available



Fantastic accomplishment! I can only repeat dons' comment
- this could be game-changing.

Some obvious questions that come to mind:

We see that it is already possible to expose a Haskell function
to .NET as a callback. That's exciting! Can we go to the next step
and register it as part of an assembly?

Is it be possible for a running .NET app to fire
up the GHC runtime and call into compiled Haskell?

Is it possible at all for a .NET function not to have any side effects?
If so, is there any way to label it as such and then call it
from Haskell outside of the IO monad?

Thanks,
Yitz
  


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


[Haskell-cafe] ANN: hs-dotnet, version 0.3.0

2009-01-14 Thread Sigbjorn Finne

Hi,

the first public release of hs-dotnet is now available - a pragmatic
take on interoperating between Haskell (via GHC) and .NET. For
downloads and (some) info, see:

 http://hackage.haskell.org/cgi-bin/hackage-scripts/package/hs-dotnet
 http://haskell.forkIO.com/dotnet

Feedback most welcome, both on what's there and what you would like
to see better handled/supported next.

enjoy
--sigbjorn

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


Re: [Haskell-cafe] ANN: hs-dotnet, version 0.3.0

2009-01-14 Thread Eugene Kirpichov
This is terrific, thank you!

btw, this will allow to write Visual Haskell in Haskell :)

2009/1/15 Sigbjorn Finne sigbjorn.fi...@gmail.com:
 Hi,

 the first public release of hs-dotnet is now available - a pragmatic
 take on interoperating between Haskell (via GHC) and .NET. For
 downloads and (some) info, see:

  http://hackage.haskell.org/cgi-bin/hackage-scripts/package/hs-dotnet
  http://haskell.forkIO.com/dotnet

 Feedback most welcome, both on what's there and what you would like
 to see better handled/supported next.

 enjoy
 --sigbjorn

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

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