Daniel

Texas

Apr
16
comment Discriminated Union with Integer Values in F#
type Distance = TwentyFive | Fifty | Hundred
Mar
24
comment How to reference Oracle linked server to specific database
Thanks, but not really. I've already setup the linked server. The problem is with SSDT.
Mar
23
awarded Enlightened
Mar
23
awarded Nice Answer
Mar
19
asked How to reference Oracle linked server to specific database
Mar
19
awarded Supporter
Mar
16
comment In depth description of statically resolved type parameters
Have you read the MSDN docs: msdn.microsoft.com/en-us/library/dd548046.aspx and msdn.microsoft.com/en-us/library/dd233203.aspx ?
Feb
24
answered How to have pointer members in F#
Feb
20
answered How to use f# constraints for generic calculation functions?
Feb
19
awarded Popular Question
Feb
9
awarded Nice Question
Jan
23
comment F# null test fails to detect null values
Those should work. Something else is going on.
Jan
21
comment How do I intersect two Maps by their keys in F#
Nice solution, but match m2.TryFind k with... reads a bit better than using Option.fold IMO and avoids some allocations.
Dec
23
comment Event.create in f#?
My guess is it's been replaced with new Event<'T>().
Dec
19
comment How to access F#.Data.SqlClient Record properties dynamically
SqlDataReader seems better suited to this than a type provider.
Dec
18
comment F# equivalent of `is` keyword in C#?
You're right. It requires translation, i.e., reading :? as "is"—much the same as reading > as "greater than."
Dec
17
comment F# equivalent of `is` keyword in C#?
@sacha: Given that there's a built-in type test operator (:?), is<'T> doesn't provide much value. Compare cat is<Animal> to cat :? Animal.
Dec
12
answered How to compare individual values in f# matrices?
Dec
12
comment F# "Stateful" Computation Expression
Since you're apparently doing black magic you're on your own. :)
Dec
12
comment F# "Stateful" Computation Expression
In that case, a simpler option might be defining an ofList function for your type.
1 2 3 4 5