Skip to content
This repository has been archived by the owner on Sep 1, 2021. It is now read-only.
Tolik Pylypchuk edited this page Dec 11, 2017 · 6 revisions

Welcome to the CSX wiki!

CSX was written because I wanted to see how some functional structures would look in C#.

This library contains the following:

I chose to implement those structures using inheritance, with the base class being the structure, and subclasses its cases. I'm not sure it's the best way to do it, but it lets polymorphism deal with choosing the right cases thus eliminating a lot of boilerplate. And it's similar to Scala's sealed trait/final case classes pattern of defining union types.

Clone this wiki locally