Caching the function object created
20 people like thisPosted: 13 years ago by fholm
Sometimes you might wish to memoize a function whose input doesn't have the equality and comparison constraints, or maybe the comparison of your given type is just too slow for what you need. To fix this, you simply provide a function which converts the input into something more fitting as an extra parameter.
7 people like thisPosted: 13 years ago by Rick Minerich
Minimalist assistant to read data / execute database command. //I have question //How to Print the read value i.e.Customer.Id and Customer.Name //some sample regarding are available?? //Link For convering c# code to f# would be helpful-reply me at
8 people like thisPosted: 12 years ago by S. Kasperovich
This is a translation to F# of the Haskell code in the article "FizzBuzz in Haskell by Embedding a Domain-Specific Language" by Maciej Piróg The original article is located here: http://themonadreader.files.wordpress.com/2014/04/issue23.pdf The idea is to help people familiar with F# but not with Haskell to follow the article.
1 people like thisPosted: 10 years ago by Cesar Mendoza
Union constructors can be used as functions
17 people like thisPosted: 13 years ago by fholm
Function composition can be done by using >> operator. The snippet at http://fssnip.net/S is a wonderful sample. But that version generates a function which is not easy when you want to debug. This version is to use pipeline (|>) operator.
27 people like thisPosted: 12 years ago by Tao Liu
I came up with a gimmick. It looks like function overloading.
8 people like thisPosted: 11 years ago by Nobuhisa
Some generic functions that use bit manipulation. They work for all signed integer types and are faster than the standard functions min, max, abs and sign.
2 people like thisPosted: 8 years ago by Sami Perttu