Jadpo is experimental and not ready for production. These docs follow the compiler's main branch as of 30 Oct 2026. What's built · Install 0.1.0
jadpo
Reference: Configuration and time

Configuration and time · rule

type.clock_context

The operation clock is unavailable in this context.

Area 10, Configuration and time; not declinable; the next step is usually the agent's.

example
type ReminderCutoff = Instant {}function cutoff() -> ReminderCutoff {    return ReminderCutoff(clock.now)}
text
error: A function can't read `clock.now` --> main.jadpo:4:27  |4 |     return ReminderCutoff(clock.now)  |                           ^^^^^^^^^ reads the clock  reason: A function is pure: it gives the same result for the same arguments, so the time it needs arrives as a parameter; only actions read the clock.  next: Pass the time in as a parameter, read in the action that calls this (agent)  rule: type.clock_context  help: https://jadpo.dev/docs/errors/type.clock_contextcheck failed: 1 error, 1 file

Markdown for agents: /docs/errors/type.clock_context.md.Built from Jadpo main at a707efb.