cangjie-function
CommunityMaster Cangjie language functions.
AuthorSunriseSummer
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps users understand and utilize the comprehensive function-related features of the Cangjie programming language, from basic definitions to advanced concepts like closures and operator overloading.
Core Features & Use Cases
- Function Definition & Invocation: Covers syntax, parameters (named, default), return types, and function bodies.
- Advanced Concepts: Explains function types, lambdas, closures, nested functions, overloading, and operator overloading.
- Syntax Sugar: Details tail-call optimization, pipe (
|>), and composition (~>) operators. - Use Case: A developer needs to implement a complex callback mechanism using lambda expressions with captured variables. This Skill provides the exact syntax and rules for creating such closures.
Quick Start
Explain how to define a function in Cangjie that accepts named parameters with default values.
Dependency Matrix
Required Modules
None requiredComponents
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-function Download link: https://github.com/SunriseSummer/CangjieDocValidator/archive/main.zip#cangjie-function Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.