All Stories published by theburningmonk.com on September 27, 2011
03
04
05
06
10
13
15
16
17
18
20
21
22
23
24
25
30

F# — yield vs yield!

C# developers should be familiar with the yield keyword that was introduced in C# 2.0, and you’ll be pleased to know that F# also has the yield keyword which works in conjunction with F#’s equivalent of IEnumerable — sequences.


F# — Record types vs classes

In F#, you can defined record types which differ from tuples and discriminated unions in that they allow you to organize values into a type and name those values through fields:

About
theburningmonk.com
the personal blog for Yan Cui
More information
Tags
Editors