When versioning a solution, I like to just version the packages.config and not the binaries themselves. that means upon checkout, one has to install the referenced Nugets. This is the purpose of this script. [For some reason you have to press 'enter' between commands..]
5 people like thisPosted: 12 years ago by Nicolas2
A batched Deque
2 people like thisPosted: 12 years ago by Nicolas2
fold by applying a list of function to a list of arg, last one behaving as usual
1 people like thisPosted: 12 years ago by nicolas2
A snippet exported from Try F#.
0 people like thisPosted: 12 years ago by nicolas2
Dynamic programming is equivalent to recursion + some way to remember the results (as far as I undertand) The y combinator allows to "tie" a previously "untied" recursion, which itself allows to compositionally inject additional steps in the recursion. This allows to go from recursion to dynamic programming in a structured way. This exemple is a bit contrived, as there are no overlapping subproblems, which would be the case in more interesting problem (dtw etc..)
3 people like thisPosted: 11 years ago by Nicolas2
This script generates a file named __project.fsx, for each proejct which can be #load "__project.fsx" in script intending to use the same dependency graph as the code in VS a file named __solmerged.fsx, at the solution root which can be #load "__solmerged.fsx" in script intending to use the same dependency graph as the code in VS In both cases, this enforce that : **a script compiling in VS should run from FSI **
4 people like thisPosted: 12 years ago by nicolas2
This sample illustrates how to use an IDisposable inside an object, as well as a simple use of object expression
4 people like thisPosted: 12 years ago by nicolas2
Applying functions on the n first elements
1 people like thisPosted: 12 years ago by Nicolas2
A snippet exported from Try F#.
0 people like thisPosted: 12 years ago by nicolas2
Peeks from a few seq randomly according to specified frequencies. not tested
2 people like thisPosted: 11 years ago by nicolas2