This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(* Test embedding in blogger... *) | |
let add x y = x + y | |
let add1 = add 1 | |
let result = add1 2 | |
printfn "%d" result | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Program | |
{ | |
delegate bool delA(string item); | |
delegate bool delB(string item); | |
static void Main(string[] args) | |
{ | |
delA del = s => true; | |
callA(del); | |
callB(del); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let findtfpath = | |
let VS_REGPATHS = [ | |
@"Software\Wow6432Node\Microsoft\VisualStudio\10.0"; | |
@"Software\Microsoft\VisualStudio\10.0"; | |
@"Software\Wow6432Node\Microsoft\VisualStudio\9.0"; | |
@"Software\Microsoft\VisualStudio\9.0"; | |
@"Software\Wow6432Node\Microsoft\VisualStudio\8.0"; | |
@"Software\Microsoft\VisualStudio\8.0" | |
] | |
let INSTALLDIR = "InstallDir"; |
NewerOlder