TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The theory behind covariance and contravariance in C# 4 (2012)

7 pointsby kevinskiiover 10 years ago

1 comment

acjohnson55over 10 years ago
This is a really great article. I've read simpler explanations of covariance and contravariance, but this is one of the most accessible illustrations of category theoretical concepts I've read. I'd love to see the author expand upon it to show how the concept of functors leads to map operation and how the monads and flatmap can be conceptualized within the category theoretical framework.