Category Theory via C# (9) Bifunctor
As discussed in all the previous functor parts, a functor is a wrapper of a object with a “Select” ability to preserve a morphism to another‘
639 words
|
3 minutes
Category Theory via C# (8) Functor Category
Given 2 categories C and D, functors C → D forms a , denoted DC:
427 words
|
2 minutes
Category Theory via C# (7) Natural Transformation
If F: C -> D and G: C -> D are both functors from categories C to category D, a mapping can be constructed between F and G, called [natural transformation](http://en.wikipedia.org/wiki/Natural_transfo
495 words
|
2 minutes
Category Theory via C# (6) Functor-like Tuple<>, Task<> And IQueryable<>
Tuple<> looks like the simplest functor by just wrapping a value. It is most close to the [Identity functor of Haskell](http://hackage.haskell.org/package/transformers-0.4.3.0/docs/Data-Functor-Identi
1964 words
|
10 minutes
Category Theory via C# (5) More Functors: Lazy<>, Func<> And Nullable<>
A simple functor in DotNet category is Lazy<>. Its Select functions can be easily implemented:
1293 words
|
6 minutes
Category Theory via C# (4) Functor And IEnumerable<>
A F: C → D is a structure-preserving ) from category C to category D:
1386 words
|
7 minutes
Category Theory via C# (3) Monoid as Category
An individual monoid (T, ⊙, I) can be a category M:
485 words
|
2 minutes
Category Theory via C# (2) Monoid
A monoid, denoted a 3-tuple (M, ⊙, I), is a set M with
1445 words
|
7 minutes
Category Theory via C# (1) Fundamentals - Category, Object And Morphism
This post and the following posts will introduce category theory and its important concepts via C# and LINQ, including functor, applicative functor, monoid, monad, etc. Categories were first introduce
627 words
|
3 minutes