Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

egghead.io

Exploring Common Algebraic Data Types Used in Functional Programming

via egghead.io

Overview

This collection intends to provide viewers with examples of the different Algebraic Data Types that are commonly used in programming. All of these ADTs can be found within the Fantasy Land specification which consists of common algebraic data types used in the realm of web development. By adhering to the different laws that each ADT is built upon, users of the spec are provided with interoperability when using different algebras, ultimately providing them with an incredibly powerful set of tools.
Resources
Fantasy Land Github

Syllabus

  • Get Acquainted with Functor Data Types in JavaScript by creating an Identity Functor
  • Use a Maybe functor to halt transformer functions from acting on null or undefined values
  • Creating Semigroup Data Types from Scratch
  • Testing Semigroups to Ensure They Abide by the Law of Associativity
  • Leveraging Semigroups to Create Reusable Max & Min Interfaces
  • Leveraging Semigroups to Create Reusable Any & All Interfaces
  • Upgrading Semigroup Data Types to Monoids
  • Transforming All, Any, Max, & Min from Semigroups to Monoids
  • Learn How to Define a Generalized Monoidal Fold Function

Taught by

Thomas Greco

Reviews

5 rating at egghead.io based on 3 ratings

Start your review of Exploring Common Algebraic Data Types Used in Functional Programming

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.