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

YouTube

Derive Class Instances Topdown and Derive TTG Automatically

ACM SIGPLAN via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn advanced Haskell deriving mechanisms in this 24-minute conference presentation from the Haskell 2025 symposium. Explore a novel topdown approach to deriving class instances that generates multiple related instances simultaneously, addressing two common boilerplate scenarios: composite and nested data types requiring individual deriving clauses, and data types needing derivation for classes with multiple superclasses. Discover how to automatically transform regular data types into decoratable types using type families and Template Haskell, extending constructors to support the Trees That Grow (TTG) pattern. Master techniques that reduce repetitive deriving declarations and streamline instance generation for complex type hierarchies in functional programming.

Syllabus

[Haskell'25] Derive class instances topdown and derive ttg automatically

Taught by

ACM SIGPLAN

Reviews

Start your review of Derive Class Instances Topdown and Derive TTG Automatically

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.