Created
October 12, 2012 02:09
-
-
Save bleis-tift/3876955 to your computer and use it in GitHub Desktop.
This file contains 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は、C#のvarと同じものと思っておけば(とりあえずは)よい | |
// var x = 42; | |
let x = 42 | |
// 関数定義のletは、C#で | |
// var f = new Func<int, string>(i => i.ToString()); | |
// という書き方で、関数定義もできてしまう、と考える | |
let f (i: int) = i.ToString() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment