Coding Grounds
Compilation of different programming projects I amuse myself with.
Showing posts with label
Functional programming
.
Show all posts
Showing posts with label
Functional programming
.
Show all posts
Monday, 15 July 2024
Caching pure functions using Memoize in C#
›
This article will present a technique for caching pure functions in C# using Memoize technique. This is a programmatic caching of pure me...
1 comment:
Tuesday, 2 July 2024
Maybe Monad in C# - Guarding against nulls
›
This article will look more at the Maybe monad in C#. It is used to guard against nulls and is one of the most known monads in functional pr...
Sunday, 30 June 2024
Fork combinator revisited - supporting multiple part functions in C#
›
This article shows an example of a Fork combinator or 'monad' that will allow you to specify a join function that operates on all th...
Wednesday, 26 June 2024
Functional programming - Guarding against nulls with the Option monad
›
Monads are "elementary individual substances". We can call them "building blocks" in Functional Programming (FP) and FP ...
Tuesday, 19 March 2024
Functional programming - Fork combinator in C# to combine results from parts
›
This article will discuss a wellknown combinator called Fork which allows you to combine the mapped result. Consider the following extensi...
Sunday, 10 March 2024
Functional programming - the Tee function to inspect current state in a chained expression
›
In this article we will look at helper extension methods of StringBuilder first to better support chaining StringBuilder. We will work on t...
Saturday, 9 March 2024
Functional programming - looking up current time and encapsulating usings
›
I looked at encapsulating Using statements today for functional programming and how to look up the current time with API available on the In...
Thursday, 7 March 2024
Currying functions in C#
›
This article will look into helper methods for currying functions in C#. The definition of Currying consists of splitting up a function with...
Monday, 30 December 2019
More methods: Any, All, EnumerableRange, GroupBy for Linq like library written in TypeScript
›
I am extending my TypeScript library written to target Linq like methods, which can be used with Angular 8 and Typescript also. You can fi...
1 comment:
›
Home
View web version