Created
May 5, 2013 18:49
-
-
Save jaredpar/5521756 to your computer and use it in GitHub Desktop.
When C# makes you wish you were using F#
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
C# | |
private static readonly ReadOnlyCollection<ITagSpan<IntraTextAdornmentTag>> EmptyTagColllection = new ReadOnlyCollection<ITagSpan<IntraTextAdornmentTag>>(new List<ITagSpan<IntraTextAdornmentTag>>()); | |
F# | |
let emptyTagCollection = List.empty | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment