examples/elixir_programming_skills/skills/functions/SKILL.md
--- lesson_style: summary title: Functions tags: - elixir - basics - functions links: - target: "[[basics]]" rel: prereq - target: "[[modules-and-docs]]" rel: related - target: "[[enum-and-pipe]]" rel: related source_lessons: - https://elixirschool.com/en/lessons/basics/functions content_origin: Summarized from Elixir School lessons in paraphrased form. Not verbatim text. --- Summary of the lesson: distinguish anonymous and named functions, understand arity, and use pat
npx skillsauth add pcharbon70/jido_skillset examples/elixir_programming_skills/skills/functionsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Summary of the lesson: distinguish anonymous and named functions, understand arity, and use pattern-matched clauses with guards to express intent. The lesson also emphasizes private helpers and default arguments as readability tools, not substitutes for clear API design.
Keep data fundamentals from [[basics]] in mind while writing functions. Organize public APIs with [[modules-and-docs]] and build transformation pipelines with [[enum-and-pipe]].
testing
--- title: bad tags: [one, two --- Invalid yaml frontmatter.
testing
B links back to [[a]].
testing
A links to [[b]].
testing
--- title: Beta --- Beta body.