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

type.unary_operand

Operator cannot be used with this value.

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

example
type Phrase = Text {}type Flag = Bool {}function negate(phrase: Phrase) -> Flag {    return Flag(not phrase)}
jadpo checkcheck failed: 1 error, 1 file

error not needs a Bool, and phrase is a Phrase

--> main.jadpo:6:21

  |6 |     return Flag(not phrase)  |                     ^^^^^^ this is `Phrase`
reason
not works on Bool values and types built on Bool; Jadpo has no truthiness.
next
Compare phrase to get a Bool (agent)
rule
type.unary_operand
help
https://jadpo.dev/docs/errors/type.unary_operand

Markdown for agents: /docs/errors/type.unary_operand.md.Built from Jadpo main at aee2e8f.