cangjie-type-system

Community

Understand Cangjie's type system.

AuthorSunriseSummer
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill clarifies the intricacies of the Cangjie programming language's type system, helping developers understand how types relate, transform, and are defined.

Core Features & Use Cases

  • Subtyping: Explains class inheritance, interface implementation, and how tuple/function types form subtype relationships.
  • Variance: Details covariance, contravariance, and invariance in generic and built-in types.
  • Type Conversion: Covers explicit conversions for numeric types, Runes, and safe casting using is and as operators.
  • Type Aliases: Demonstrates how to create aliases for existing types to improve code readability.
  • Use Case: When encountering complex generic type definitions or needing to perform safe type checks and conversions in Cangjie, this Skill provides the necessary rules and examples.

Quick Start

Explain the subtyping rules for function types in Cangjie.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: cangjie-type-system
Download link: https://github.com/SunriseSummer/CangjieDocValidator/archive/main.zip#cangjie-type-system

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.