Skip to main content
Use a conservative PCD shape for public examples.
PC example {
    fn evaluate(input) {
        if (input <= 0) {
            return 0;
        }

        return 1;
    }
}

Rules

  • Start with PC <name>.
  • Keep functions explicit.
  • Return a value from every branch.
  • Use monomer calls from the catalog.
  • Avoid unsupported symbolic syntax in executable examples.
  • Keep external behavior visible in the surrounding explanation.