[Haskell-cafe] LINQ, SQL and hs-dotnet

2009-07-06 Thread Günther Schmidt
Hi all, is there anyone who has already tried using LINQ2SQL with hs-dotnet and would care to share the experience? I'm trying to figure out what exactly it would take to access an SQL database via LINQ / hs-dotnet. Ie. whether or not it's necessary to create Entity classes, or if one can

Re: [Haskell-Cafe] Linq (FP in C#)

2008-01-12 Thread Peter Verswyvelen
Yes indeed. And you forget "expression trees": code gets translated into an AST like tree, and then you can use that tree for anything you want (like compiling different other code, or code for another platform) Hugh Perkins wrote: Linq went live in C# in November, as part of .Net 3.5. It add

[Haskell-Cafe] Linq (FP in C#)

2008-01-12 Thread Hugh Perkins
Linq went live in C# in November, as part of .Net 3.5. It adds lots of FP-things to C#. It's really fun to be able to use Haskell-ish things in C#. Manipulating lists and collections just got *much* easier. Things it does: - map, fold, filter are all there (they're called "select", "agregate", "

Re: [Haskell-cafe] LINQ

2005-10-27 Thread John Meacham
On Thu, Oct 27, 2005 at 09:31:51PM +0200, Lennart Augustsson wrote: > Because mentioning FP is the kiss of death? eh, no worse than mentioning cold fusion. :) John -- John Meacham - ⑆repetae.net⑆john⑈ ___ Haskell-Cafe mailing list Haskell-Cafe

Re: [Haskell-cafe] LINQ

2005-10-27 Thread Lennart Augustsson
Because mentioning FP is the kiss of death? -- Lennart PS. I can see Eric Meijer's shadow behind this. ;) Niklas Broberg wrote: Why is it that everything that OO "steals" from the functional paradigm is always marketed as something new that will revolution the way we program? Can't th

[Haskell-cafe] LINQ

2005-10-27 Thread Niklas Broberg
Why is it that everything that OO "steals" from the functional paradigm is always marketed as something new that will revolution the way we program? Can't they at least give some credit where credit is due? :-p http://msdn.microsoft.com/netframework/future/linq/default.aspx?pull=/library/en-us/dnd