I have an object of type FSharpOption, but I don\'t know it\'s depth. It could be any of... FSharpOption<Int32>
I\'m aware of this question, but the asker seems to have been content with an answer to another question (how to overload the constructor)
I can\'t find the proper syntax for coding a type D that inherits a base class B (written in C#) and his constructors other than the base class implicit constructor:
In C# I\'d write something like MyType arr = new MyType[10]; to alloc arr as array which has 10 items of type MyType.
This will hopefully be an easy one.I have an F# project (latest F# CTP) with two files (Program.fs, Stack.fs).In Stack.fs I have a simple namespace and type definition
I\'m new to functional world and appreciate help on this one. I want to SUPERCEDE ugly imperative code from this simple function, but don\'t know how to do it.
Can\'t define (?) operator overload on type: type Foo = val s : string new(s) = { s = s } static member (?) (foo : Foo, name : string) = foo.s + name
I know about Options->Fonts and Colors. But there is no option for F# strings(i want to change color to make them look exactly like c# strings)!
I w开发者_StackOverflowould like to write a function that takes a function f as an argument and returns the System.Reflection.MethodInfo associated to f.
I am trying to write some F# code for manipulating polynomials, as part of that I want to combine duplicate elements of a list into a single element here is the relevant code: