Language / Conventions

Conventions

This page summarizes the conventions used throughout the Silk language docs: notation, naming, and the “implementation status” pattern.

Full reference: conventions.

Example: typical formatting in Silk docs#

fn main () -> int {
  let x: int = 1;
  if x == 1 {
    return 0;
  }
  return 1;
}

See also#

Source repository · Edit this page · View Markdown