I just read this post and want to let you guys know that F# has been relised with Visual Studio 2010 Beata and I am instrested in leaning this Language so I can use the right language for the right job
here's some sample code for you guys to enjoy
CODE
//Open standard name space
open System
//assign 1 to int1
let int1 = 1
let int2 = 2
let int3 = int1 + int2
//functions on integers
let f x = 2*x*x - 5*x +3
let result = f(int3 + 4)
let add1 x = x+1
//tuple of integers
let pointA =(1,2,3)
let dataB = (1,"fred",3.1415)
let Swap (a,b) = (b,a)
//lists
let listA = [ ] //empty list
let listB = [1;2;3]
let listC = 1::[2;3] //outputs listB
//get the sum of a list
let rec SumList xs =
match xs with
| [] -> 0
| y::ys -> y + SumList ys
//Call the function
let listD = SumList[1;2;3]
//create list of one to ten
let oneToTen = [1..10]
let squaresOfOnetoTen = [for x in 0..10 -> x*x]
//create an array
let arr = Array.create 4 "Hello"
arr.[1] <- "World"
arr.[3] <- "don"
let arrLength arr.Length
//slice the array
let front = arr.[0..2]