Archiv der Kategorie: F#

One of the major advantages of static typed programming languages is the detection of type specific errors during implementation time. This early detection of errors may save time and money. Such type checks during implementation time are also possible for … Weiterlesen →

In my actual projects I like to use a combination of C# and F# to implement the needed applications. I think C# is a very efficient programming language to implement the user interface and the business layer and F# may … Weiterlesen →

Currying is a transformation process which converts a function with multiple arguments into a chain of embedded functions, each with single parameter. In F# function declarations are curried by default. Therefore you don’t usually need to curry functions. But even … Weiterlesen →

Memoization is a concept based on lazy evaluation and caching of function results. If you have a function without side effects and you call the function multiple times with the same arguments, then it is sufficient to call the function … Weiterlesen →

There existing two basic collection types in F#: Array and List. Within this article I want to compare both collection types and I want to help you choose the right one for your programming issues. Array An array is … Weiterlesen →

Whenever people start to implement recursive functions in C# they begin to discuss whether recursive function calls or loops are faster and which technique they should prefer. I have heard such discussion several times and therefore I want to do … Weiterlesen →

To implement a function by using other functions is one of the basic concepts in most programming languages. Therefore this feature is very well supported in a lot of programming languages, especially in functional programming languages. Within this article I … Weiterlesen →