LinqPad and F# Charting

Import these references Sample script Graph

March 2016 · Smart Tech

F# Beginnings

open System #light // Hello world let a = “Hello, world!”; let mutable b = 0; while b < 10 do b <- b+1 Console.WriteLine(a + b.ToString()) Console.ReadLine() |> ignore // recursive binary search - http://rosettacode.org/wiki/Binary_search#F.23 let items = [| 10; 20; 30; 40; 50; 60; 70; 80; 90; 100; |] let rec binarySearch (arr:int[], low:int, high:int, value:int) = if (high < low) then false else let mid = (low + high) / 2 ...

March 2011 · Smart Tech

DatabaseBackup.fs

March 2011 · Smart Tech