Marc Sigrist's blog articles

0
comment
on 7/13/2012 7:05 AM
In this post, we are going to create a Converter class who converts values to strings. The conversion rules are specified by passing the name of a culture to the class’ constructor. The culture name can contain just the language (as ISO 639-1 alpha-2 code, e. g. “en”) or the language and region (as ISO 3166 code, e. g. “US”) combined with hyphen, e. g. “en-US”. An empty culture name “” specifies the invariant culture, which falls back to “en”. The class has only one conversion method ToString, who is generi[...]
>> Read the full article
.
0
comment
on 7/13/2012 7:05 AM
In this post, we are going to create a Converter class who converts values to strings. The conversion rules are specified by passing the name of a culture to the class’ constructor. The culture name can contain just the language (as ISO 639-1 alpha-2 code, e. g. “en”) or the language and region (as ISO 3166 code, e. g. “US”) combined with hyphen, e. g. “en-US”. An empty culture name “” specifies the invariant culture, which falls back t[...]
>> Read the full article
.
0
comment
on 1/23/2012 6:19 AM
This article gives an overview how types are accessed in F# with a combination of features related to static typing, dynamic typing, and type inference. Static Typing Static type checking ensures, at compile time, that the program is free from most kinds of type errors. The source code editor can highlight such errors as soon as they are written out. Static type checking in F# probably goes further than in any other strongly typed language: By default, types defined in F# cannot be null. This[...]
>> Read the full article
.
0
comment
on 1/23/2012 6:19 AM
This article gives an overview how types are accessed in F# with a combination of features related to static typing, dynamic typing, and type inference. Static Typing Static type checking ensures, at compile time, that the program is free from most kinds of type errors. The source code editor can highlight such errors as soon as they are written out. Static type checking in F# probably goes further than in any other strongly typed language: By default, types defined in F# cannot be null. This eradicates a[...]
>> Read the full article
.
0
comment
on 7/16/2011 4:13 AM
F# provides literal expressions for tuples, F# lists, arrays, enumerables, and other generic types. The elements of a tuple expression are separated by commas. The elements of all other kinds of list-like expressions are separated by semicolons. F# ExpressionF# Type RepresentationC# Type Representation 17, 3, 8 int * int * int Tuple<int, int, int> [17; 3; 8] int list FSharpList<int> [|17; 3; 8|] int[] int[] seq {yield 17; yield 3; yield 8} int seq IEnumerable<int> Not[...]
>> Read the full article
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper