The Active Network
ActiveMac Anonymous | Create a User | Reviews | News | Forums | Advertise  
 

  *  

  F# meets LINQ, and great things happen (Part I)
Time: 04:33 EST/09:33 GMT | News Source: Microsoft | Posted By: Jonathan Tigner

In case you haven't heard, LINQ (Language Integrated Queries) is one of Microsoft's project codename for adding a range of features to C# and Visual Basic to allow programmers to write "language-integrated query, set, and transform operations". The idea is to use a combination of generics, functional programming, expression reification, and related extensions to the OO programming model ("extension methods" among other nice things) combined in a tasteful way to tackle several aspects of data manipulation and transformation simultaneously, in particular for in-memory streamed data (IEnumerables - basic LINQ), XML (XLinq) and database access (DLinq).

The latest release of F# (v. 1.1.8.1) contains everything you need to do some LINQ programming in conjunction with the C# LINQ "Tech Preview" release for VS 2005, including a translation of some of the 101 Samples (you can also use the command line compiler to get the samples working, though it may take a little work on your part). In this blog entry I'll give you an initial taste for how beautifully F# combines with LINQ, and indeed for how much overlap there is between the two paradigms. Furthermore, you don't actually have to use LINQ as such (which is only in preview) - F# is already a great alternative environment for exploring the concepts that underpin the LINQ paradigm. But before we begin you maight like to download F#, spin up Visual Studio and F# Interactive (fsi.exe) and work your way through the F# Quick Tour. You might also like to read up a bit on LINQ first, or you might like to see if you can get what's going on through the F# samples alone.

AW: Also of interest: Chinese Chess in F#

Write Comment
Return to News

  Displaying 201 through 202 of 202
Prev | First
  The time now is 9:24:21 PM ET.
Any comment problems? E-mail us
#201 By 4240821 (80.73.244.53) at 8/27/2024 8:34:54 AM
https://bio.site/culithecu496
https://bio.site/tertoispirmai752
https://bio.site/chiasporabhar3
https://bio.site/mierividsa555
https://bio.site/taibigvipat505
https://bio.site/snowrokara69
https://bio.site/declotplasle468
https://bio.site/daigaffveman120
https://bio.site/unbladsinswhi554
https://bio.site/bharkingminscer542

#202 By 4240821 (166.1.149.158) at 8/28/2024 7:08:28 AM
https://bio.site/unbladsinswhi554
https://bio.site/guehosdebor603
https://bio.site/refdacoven45
https://bio.site/calmembnaldbar712
https://bio.site/wordflilloughpost572
https://bio.site/sayhearesde169
https://bio.site/miaselfcimas710
https://bio.site/unbladsinswhi554
https://bio.site/clicivemtwin245
https://bio.site/refrerama718

Write Comment
Return to News
  Displaying 201 through 202 of 202
Prev | First
  The time now is 9:24:21 PM ET.
Any comment problems? E-mail us
User name and password:

 

  *  
  *   *