Click here to Skip to main content
15,892,927 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 Title

F# 

29 May 2022 by koolprasad2003
What's new in .NET 6
9 Nov 2021 by Member 12660776
Programmatically Adding New ConfigurationSectionGroup Corrupts Declaration Section With Multiple Group Declarations.
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.
19 Sep 2009 by jebarson
New features of Visual Studio 2010 discussed
11 Feb 2013 by Sander Rossel
Journey to the center of the .NET Framework with a chance of IL along the way!
4 Jan 2013 by colinfang
This article investigates how Pattern Match compiles under the hood in a number of simple common scenarios.
14 Jan 2013 by colinfang
OneNote2Markdown converts the html generated from OneNote to Markdown format, which can then be translated to a cleaner normalized html by any online Markdown parser later.
30 Dec 2013 by Monjurul Habib
Introduction to Agile software development methodologies and how to apply them. It is about how to work together to achieve a common goal. This article focus on how technology team work together well to plan, build and deliver software.
1 Jan 2014 by Monjurul Habib
The hardest single part of building a software system is deciding precisely what to build. Everybody in software development has the same goal: Rapid, Reliable, Low Risk delivery of high-quality, valuable functionality to users. This article will help them to achieve their goal.
20 Feb 2009 by Vitaliy Liptchinsky
This article describes the basic ideas of how to build workflow engine a-la WF based on F# workflows and CCR
26 Jun 2017 by Marc Clifton
Among other things, an exploration into writing C# code in a functional programming style.
17 Jan 2013 by Mattias Högström
Building a viewer and analyzing profiling data reports from vsperfcmd.
3 Sep 2010 by Vitaliy Liptchinsky
This article introduces dataflow programming and provides basic implementations of dataflow variables in C# and F#
16 Feb 2010 by dawright, ProtoBytes
A heurisitc graphing tool to help discover 'Big O Notation' function thru infinite asymptotic's and instrumentation.
19 Oct 2011 by rickoshay
Determine the square root of a BigInteger using F#
3 Jun 2011 by Cyborgx37
A simple F# application that solves Sudoku puzzles. Links to helpful resources are also provided.
2 Jul 2012 by tagad
Hi, what would be the closest equivalent F# code to a C# array of objects?Example:In C# I would create:object[,] tableA = new object[30,2];tableA [0, 0] = "dog";tableA [0, 1] = 2;tableA [1, 0] = "cat";tableA [1, 1] = 31;and so on ....In F# I could createlet...
2 Jul 2012 by Sergey Alexandrovich Kryukov
In this particular case, you can use array2D:http://msdn.microsoft.com/en-us/library/ee620670.aspx[^].See also the section "Multidimensional Arrays" in the documentation page on F# arrays:http://msdn.microsoft.com/en-us/library/dd233214.aspx[^].—SA
2 Jul 2012 by tagad
A possible way to do it is let myArray2D : obj[,] = Array2D.create 2 2 (box()) myArray2D.[0,0]
3 Jul 2011 by Chad Z. Hower aka Kudzu
A quick view under the hood of Cosmos and how it works
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.
10 Aug 2010 by SureshSuri
How we can call F# functions from C# coding.
10 Aug 2010 by R. Giskard Reventlov
Start here: Call F# code from C#[^].Google is your friend.
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...
11 Aug 2018 by NBhalodiya
I have one dll that is build in f# or java for calculator application and I want to use it in C# application. That is possible if yes than how? What I have tried: I just want to know if this possible than how How to reference and use that dll or jar file.
11 Aug 2018 by OriginalGriff
JAR files you can't access directly - they are Java installation files and would normally be run under the Java Runtime Environment to add an application to your system. C# files can't use these directly. F# is a .NET language, so you can use it's assemblies directly as if they were written in...
23 Oct 2015 by Farhad Reza
This article describes the use of GDI+ in F# to design chess game pieces.
7 Aug 2017 by Marc Clifton
Not very classy in C#, but pretty classy in F#.
10 Jul 2015 by darrellp
A framework for easily solving programming challenges from competitive coding sites
18 Oct 2008 by Shivprasad koirala
Compiling the first F# program using interactive mode
2 Aug 2012 by Marc Clifton
Exploring the concept of Computational Types in both C# and F#
23 Feb 2021 by Bohdan Stupak
A simple snippet of how you can convert video in .NET Core
4 Feb 2011 by Scott Philip Brown
This is an implementation of Conway's Game of Life using F# and SDL.NET
21 Jun 2012 by Member 8336910
Hi I am an intern working with ASP.NET.My current task is to make a website which will incorporate some jquery viewing features. This project seems to me will be primarily dealing with reading data from a database and making graphs out of them. This will require me to make custom queries...
21 Jun 2012 by db7uk
I too am a little confused regarding the front and back end language choice.The only thing I can think of is that you could have a website written in C# and maybe a class library / service (more likely service) that is F# providing functional aspects to the site.In terms of asynchronous...
28 Apr 2015 by Hassan Alrehamy
JSON Deserialization in depth concept and Dictionary mapping. Special Thanks to Dr. Coral Walker
1 Mar 2016 by SneakyPeet
Delayed dependency resolution the right way
12 Aug 2010 by Chad Z. Hower aka Kudzu
Develop your own operating system using C# (or VB.NET, etc.) and Visual Studio!
15 Nov 2010 by 10Tec, Sergey Gorbenko
Tool for creating MS Visual Studio documentation files - XML Summaries, HxS/MSHC help solutions and manuals.
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...
26 Aug 2014 by Sergey Alexandrovich Kryukov
Please confirm that I understand your question correctly; look at my comment to the question.Here is my idea: at the level of the compiler, it's really hard to do this optimization. In some cases, the compiler does not have enough information. Consider there is a way to figure out that the...
2 May 2018 by Member 13795231
Hello, I am facing a problem with drawing Newton's fractal for f(x) = x^3 - 1 using F# The problem is that my program seems to draw only the down right 1/4 of the fractal and nothing else. Since the actual drawn area is correct, I take it as the problem might be with the bitmap representation on...
23 May 2008 by Crawfis
While there are many expression evaluators out there, the CodeDom framework allows you to take any .NET langauge and link a code snippet at run-time.
30 Nov 2015 by Hideous Humpback Freak
Using an F# library for immutable objects reduces required code by an amazing amount. Additionally, it eradicates error prone maintenance.
8 Jul 2010 by rmortega77
Eliza like chat bot in F# for having fun learning the functional programming language shipped with Visual Studio 2010.
22 Aug 2011 by Vladimir Ivanovskiy
This article shows how to compile and run F# code during runtime.
1 Feb 2024 by Nicolas DESCARTES
How to embrace functional programming in C#
14 May 2018 by Bohdan Stupak
This article will introduce to you canopy - selenium-based end-to-end testing framework that uses F#.
15 Jul 2010 by Vagif Abilov
The article demonstrates how to explore the Amazon S3 API using F# and achieve great results just in 45 minutes.
23 Oct 2012 by barry brunswick
An entry in the Intel App Innovation Contest
4 Apr 2014 by Sacha Barber
Recursion 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 […]
10 Mar 2014 by Sacha Barber
Hello World in F#
10 Mar 2014 by Sacha Barber
FSI environment in F#
22 May 2014 by Sacha Barber
We continue our OO journey, and this time we look at events within classes.
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.
21 May 2014 by Sacha Barber
Type providers in F#
4 Mar 2014 by Sacha Barber
Operators in F#
5 Mar 2014 by Sacha Barber
Tuples in F#
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#
27 Jul 2010 by User 5722857
Async programming in functional languages such as F# is such a breeze....
4 Feb 2012 by VallarasuS
F# example usage of option types
1 May 2014 by Sacha Barber
F# for beginners series
19 Oct 2015 by Member 12070797
Hello,I have a little problem with my program in F#. I have a data in my DataGridView - about 10 rows. I would like to get a data from selected rows as "event for click the button" (exactly i want to get value from cells(0) from this selected rows) but a dont know how i can do this. I dont...
19 Oct 2015 by Member 12070797
Hello,I try,try and try and at last resolve my problem. I give solution maybe will be useful to someone - i use below code to display necessary data:let mutable zmienna1 = "pusta"for e in DataGridViewRezerwacje.SelectedRows do zmienna1
5 Dec 2011 by Ganesan Senthilvel
F# List
11 Nov 2014 by Member 11224598
I thought that i made right solutiuon for my problem but i was wrong.I must calculate sum of every elements in list after last negative number or if in the list i have only positive claculate sum for all elements.code what i have done : Unfortunalety i must do it without recusion using...