Click here to Skip to main content
15,886,578 members
Everything / Programming Languages / F#

F#

F#

Great Reads

by Dmitri Nеstеruk
Let's create a simple project estimation DSL using F#!
by Tomas Petricek
The Real World Functional Programming book explains essential concepts of this paradigm using examples in C# 3.0 and F#. In this article we look at immutability, which stands behind the clarity of functional programs.
by Marc Clifton
Not very classy in C#, but pretty classy in F#.
by Marc Clifton
Among other things, an exploration into writing C# code in a functional programming style.

Latest Articles

by Nicolas DESCARTES
How to embrace functional programming in C#
by Gaston Verelst
How to use F# to implement algorithms such of k-means
by koolprasad2003
What's new in .NET 6
by Bohdan Stupak
Way to leverage custom serializer in Giraffe framework

All Articles

Sort by Score

F# 

16 Aug 2009 by Dmitri Nеstеruk
Let's create a simple project estimation DSL using F#!
6 Feb 2009 by Tomas Petricek
The Real World Functional Programming book explains essential concepts of this paradigm using examples in C# 3.0 and F#. In this article we look at immutability, which stands behind the clarity of functional programs.
7 Aug 2017 by Marc Clifton
Not very classy in C#, but pretty classy in F#.
26 Jun 2017 by Marc Clifton
Among other things, an exploration into writing C# code in a functional programming style.
13 Jan 2020 by Marc Clifton
Implementations in C# and F#
29 Jul 2020 by Mladen Janković
An algorithm for reconstructing game world map from captured game play
10 Jun 2022 by Gaston Verelst
How to use F# to implement algorithms such of k-means
4 Apr 2014 by Sacha Barber
Recursion in F#
28 Apr 2015 by Hassan Alrehamy
JSON Deserialization in depth concept and Dictionary mapping. Special Thanks to Dr. Coral Walker
5 Jan 2017 by epicTurk
Parse quser.exe Results in Regex in any .NET language
25 Sep 2019 by Shameel
.NET Core 3.0, with a significant number of changes and improvements, was released on 23rd September 2019. The most important changes are discussed in this article. The post New Features and Enhancements in .NET Core 3.0 appeared first on The Developer Space.
22 Aug 2011 by Vladimir Ivanovskiy
This article shows how to compile and run F# code during runtime.
16 Oct 2019 by Klaus78
A simple example of usage of type providers in F#
19 Oct 2011 by Sergey Alexandrovich Kryukov
There are so many languages which are worth learning so giving advices is difficult. You know what? You need to learn one or two to get good experience and learn something new time to time, not doing too serious development, just for general culture and getting a change to switch to something...
3 Jul 2012 by James Kolpack
Solving a problem like a Euler using F#
17 Jan 2013 by Mattias Högström
Building a viewer and analyzing profiling data reports from vsperfcmd.
4 Jan 2013 by colinfang
This article investigates how Pattern Match compiles under the hood in a number of simple common scenarios.
1 May 2014 by Sacha Barber
F# for beginners series
2 Nov 2015 by Farhad Reza
We will design two interesting characters in this tip. The first one is Code Project Bob sticker and the second one is Magpie bird which is the national bird of Bangladesh.
9 Jan 2010 by alex turner
Showing how Micro Focus Managed COBOL can call F#, and some tips on mixing imperative and functional languages the easy way.
12 Dec 2011 by Ganesan Senthilvel
F# symbolic operator
2 Aug 2013 by CPallini
We have the very nice article series written by 0x3c0, let's start from the first one: "Beginning Operating System Development, Part One"[^].
3 Mar 2014 by Sacha Barber
Let / Use / Do Bindings in F#
9 Apr 2014 by Sacha Barber
Now that we have some of the basic types and pattern matching under our belts, I thought it high time that we learnt a bit about how to organize our own code. Throughout some of the posts we have already been through I have been referring to modules such as the “List module”. In this […]
22 May 2014 by Sacha Barber
We are nearing the end of one of the main sections of this function series, but we have yet to look at one of the main elements you will see when using F#, which is signatures of functions. In order to understand function signatures we will be revisiting our own old friend the “FSI Window”.
29 Apr 2014 by Sergey Alexandrovich Kryukov
First of all, you should not incorrectly compare paradigms, functional vs imperative. Functional can actually be considered as a kind of imperative. (It is not declarative, right? :-)) And the question "why" is not, strictly speaking, correct. Why? Because it was designed this way.This is...
23 Feb 2021 by Bohdan Stupak
A simple snippet of how you can convert video in .NET Core
21 Dec 2010 by Stefan Savev 2
Shows how to encode a closure as a class where the references are stored as mutable fields, thus removing a level of indirection
19 Dec 2010 by Stefan Savev 2
1) Add a reference FSharp.Core dll in your project2) Reference Microsoft.FSharp.Core namespace in your code using FS = Microsoft.FSharp.Core;3) Implement your function, for example:public static IEnumerable map(FS.FSharpFunc mapper, IEnumerable...
23 Nov 2011 by Ganesan Senthilvel
F# primitive types
5 Dec 2011 by Ganesan Senthilvel
F# List
28 Feb 2012 by Jaxon7
Mysterious problem in WPF v4, feature not defined.
21 May 2014 by Sacha Barber
One of the things you will most likely need to do when you work with any language is format text, and surprise surprise F# is no different.
22 Mar 2014 by Sacha Barber
Any serious programming you do in any language will always involve lists. As such you will be pleased to know that F# has very very good support for Lists, by way of its List module. A list in F# is an ordered, immutable series of elements of the same type.   Creating Lists In F# […]
24 Apr 2014 by Sacha Barber
We now start the OO leg of our F# journey, where we will look at how to create classes (generic classes too) and use OO things like inheritance/interfaces, and we shall also look at how to use events within our classes, and how to use reflection to do meta programming against our classes instances.
28 Sep 2015 by Farhad Reza
This tip describes the use of GDI+ with F# language through Flag design.
25 Oct 2015 by Fitim Skenderi
CodeProject Lately I have been playing around with F#, and I must admit I like the language a lot ! I think it is very expressive and very intuitive to use.I personally think that the best way to learn a new language is to find a project that you are familiar with (you have implemented in the l
3 Aug 2016 by Vyacheslav Chernykh
F#-implementation of algorithm for incremental construction of minimal deterministic finite automata through adding and removing strings.
12 Mar 2017 by Gaston Verelst
How to implement the Excel simulator in F#
6 Mar 2019 by Bohdan Stupak
Simple pitfall where C# developers trying out F# might fail when writing async code
23 Dec 2021 by Bohdan Stupak
Way to leverage custom serializer in Giraffe framework
7 Jul 2009 by Tomas Petricek
The Functional Programming for the Real World book explains essential concepts of the functional programming paradigm using examples in C# 3.0 and F#. In this article we look at one very important advantage of using one of the core functional concepts - immutability.
10 Aug 2010 by R. Giskard Reventlov
Start here: Call F# code from C#[^].Google is your friend.
13 Oct 2010 by Scott Philip Brown
This article will explain how to use the turtle graphics program, and show the F# and WPF code which was used to implement it, and provide some example code for generating fractal shapes using L-system grammars.
9 Nov 2010 by Stefan Savev 2
Reading Zip files in F#
4 Feb 2011 by Scott Philip Brown
This is an implementation of Conway's Game of Life using F# and SDL.NET
17 Feb 2011 by Mostafa Elsadany
Which is faster to convert the image to byte array or convert the image to pixel. In comparison, includingthanks for help i developed application to controlling actions by web cam i compared first image by second with next image so i have slow when using pixel or byte array byte...
17 Feb 2011 by Albin Abel
Can get the byte array from the image like this..(from MSDN) // Create a new bitmap. Bitmap bmp = new Bitmap("Flower1.jpg"); // Lock the bitmap's bits. Rectangle rect = new Rectangle(0, 0, bmp.Width, bmp.Height); ...
9 Sep 2011 by Jaxon7
Search function added to the Explorer Imperative
19 Oct 2011 by Tim Groven
I would definitely throw a vote at C#!
16 May 2012 by Mehdi Gholam
VFP is Visual FoxPro, F# is a functional programing language.They have nothing in common.
7 Mar 2014 by Sacha Barber
So we continue our journey into more of the F# types. This time we will be looking at Record types.
12 Mar 2014 by Sacha Barber
Discriminated unions in F#
13 Mar 2014 by Sacha Barber
Option types in F#
22 May 2014 by Sacha Barber
We continue our OO journey, and this time we look at events within classes.
2 May 2014 by Sacha Barber
So we are about 1/2 way through the OO segment of our F# journey, we just have this article and one other to do.
22 May 2014 by Sacha Barber
Last time we looked at reactive programming, and this time we will look at a very cool feature of F# which is called asynchronous workflows. It is fair to say that the new Async-Await syntax bears more than a passing resemblance to F# async workflows.
22 May 2014 by Sacha Barber
Last time we looked at the Async class, and examined some of its core functions. This time we will be looking at using some Task Parallel Library (TPL) classes, namely Task, and Task. We will also examine how the Async module can be used in conjunction with TPL.
22 May 2014 by Sacha Barber
In this post we will examine how F# can be used to do various tasks that you may have commonly use C#/VB.NET for. It will also show how to interop between F#/C# and vice versa. I have already shown some of the content here in previous posts, so apologies for that in advance.
26 Aug 2014 by Enrique A. Casanovas Pedre
I have noticed that when I call a function multiple times with the same arguments, all of them immutable, in the same scope, the compiler does not save the result of the first call to be used as the result of the other calls. The function neither change nor depend on any outside state. The...
24 Jul 2015 by _Asif_
Check this linke Dynamic in F#: Reading data from SQL database[^]
1 Mar 2016 by SneakyPeet
Delayed dependency resolution the right way
4 Apr 2016 by Per Söderlund
I´m sorry to tell you but there is no way you can learn to code and solve any problem anyone give you.Programming is too broad.C# and .net is great.Asp.net, Unity - Game Engine and Xamarin broadens the horizon (heard rumours about microsoft opensourcing xamarin).You can do...
3 Sep 2016 by epicTurk
F# Quotations support for ViewModelSupport.ViewModelBase Property get\set Accessors