Jadpo is experimental and not ready for production. These docs follow the compiler's main branch as of 5 Nov 2026. What's built · Install 0.3.0
jadpo
ReferenceErrors

ErrorsLogic · rule

syntax.function_keyword

Function declared with fn, func, def or fun.

Area 3, Logic; not declinable; the next step is usually the agent's.

A function starts with function, not fn, func, def or fun.

example
type Count = Int {    min: 0}fn same(count: Count) -> Count {    return count}
jadpo checkcheck failed: 1 error, 1 file

error Jadpo writes function, not fn

--> main.jadpo:5:1

  |5 | fn same(count: Count) -> Count {  | ^^ write `function`
reason
fn declares a function in Rust; Jadpo starts one with function, or action when it reads or writes stored data.
next
Use function instead of fn (agent)
rule
syntax.function_keyword
help
https://jadpo.dev/docs/errors/syntax.function_keyword

Markdown for agents: /docs/errors/syntax.function_keyword.md.Built from Jadpo main at aee2e8f.