type-class-implementer

Community

Implement ad-hoc polymorphism.

Authorrainoftime
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the challenge of implementing ad-hoc polymorphism and overloading in programming languages, enabling functions to operate on different types in a type-safe manner.

Core Features & Use Cases

  • Class Declaration: Define sets of operations with type signatures.
  • Instance Declaration: Provide specific implementations for various types.
  • Constraint Propagation: Manage type class requirements during type inference.
  • Use Case: Implementing generic functions like show or eq that work across different data types in a language like Haskell or Scala.

Quick Start

Define a type class for equality checks and provide an instance for integer types.

Dependency Matrix

Required Modules

type-inference-engine

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: type-class-implementer
Download link: https://github.com/rainoftime/pl-skills/archive/main.zip#type-class-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.