Re: [Haskell-cafe] Hugs, dotnet, C#...

2007-10-11 Thread Peter Verswyvelen
Yes I have. I actually bought the few only F# books available. It's a nice language, and an incredible amount of work. The Visual Studio plugin also works well. But somehow I found Haskell cleaner... Its laziness is a better for me ;-) But I might switch back to F# someday, and then learning

Re: [Haskell-cafe] Hugs, dotnet, C#...

2007-10-10 Thread Hugh Perkins
On 10/3/07, Peter Verswyvelen [EMAIL PROTECTED] wrote: I needed to type at least 3 times the amount of code, much of which was boilerplate code, and the code is not elegant. Reflection is your friend here. Example. Code before reflection: MyConfig { // some properties here public

Re: [Haskell-cafe] Hugs, dotnet, C#...

2007-10-10 Thread Peter Verswyvelen
Thanks for the C# advise, but I was actually just comparing my C# code with similar Haskell code. Yes, I also like aspect oriented programming, dynamic code generation, and LINQ to avoid boilerplate code in C#, but this is a Haskell group, and I want to be curried ;-) But, for my students I'm

Re: [Haskell-cafe] Hugs, dotnet, C#...

2007-10-10 Thread Hugh Perkins
Have you tried F#? I mean, I havent ;-) but maybe it's an interesting half-way house? Presumably you can use all the standard .Net libraries (maybe good enough for getting asp.net working etc?), and you can still use FP constructs? I understand F# is not pure (I think?), and doesnt have monads,

Re: [Haskell-cafe] Hugs, dotnet, C#...

2007-10-10 Thread Justin Bailey
On 10/10/07, Peter Verswyvelen [EMAIL PROTECTED] wrote: A noble goal and I wish you luck. I'd love to see if you get .NET working with Haskell - I have tried to figure it out from that old build of Hugs and never had any luck. Tantalizingly, the GHC source has some Dotnet stuff in it but it

Re: [Haskell-cafe] Hugs, dotnet, C#...

2007-10-08 Thread Neil Mitchell
Hi Peter, There is a Dotnet tree in the Hugs source code files, which I believe is what supports dotnet. As far as I am aware, it probably won't work. A windows developer may be able to build it, but I've never tried. You might also be interested to know that Yhc supports --dotnet to generate a

[Haskell-cafe] Hugs, dotnet, C#...

2007-10-03 Thread Peter Verswyvelen
In the (Win)Hugs documentation, I found Only the ccall, stdcall and *dotnet *calling conventions are supported. All others are flagged as errors. However, I fail to find any more information on how to invoke dotnet methods. This might be really handy for me, as I'm very familiar with the