gadt-implementer

Community

Implement GADTs for type-safe data structures.

Authorrainoftime
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enables the creation of highly expressive and type-safe data structures by implementing Generalized Algebraic Data Types (GADTs), preventing common programming errors at compile time.

Core Features & Use Cases

  • GADT Declaration: Define data types with constructor-specific return types for precise type indexing.
  • Type Refinement: Leverage pattern matching to refine types within specific code branches.
  • Use Case: Build a type-safe embedded Domain-Specific Language (DSL) for a compiler, ensuring that only valid language constructs can be represented.

Quick Start

Define a GADT in Haskell to represent a typed abstract syntax tree.

Dependency Matrix

Required Modules

type-checker-generatorsimply-typed-lambda-calculus

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: gadt-implementer
Download link: https://github.com/rainoftime/pl-skills/archive/main.zip#gadt-implementer

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.