I am trying to have a list of functions, but seem to be coming up empty handed. The basic code is something like this:
let doSomething var = var let doSomething2 var = var let listOfStuff = [doSomething; doSomething2]
and I am getting the following exception:
Error 2 Value restriction. The value 'listOfStuff' has been inferred to have generic type val queue : ('_a -> '_a) list Either define 'queue' as a simple data term, make it a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. C:\fsharp\SentimentFramework\TradeSignalProcessor\Program.fs 16 9 TradeSignalProcessor
I tried adding the
[<GeneralizableValue>] attribute but that didn't work...