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: Values and types

Values and types

Values never change

Every value is immutable. Passing a value to a function or returning it never lets anyone else change it. A local declared with var mut can be pointed at a new value of the same type, but fields cannot be assigned: to change an object, build a new one.

example
type Product = Object {    name: ProductName    stock: Stock}function restock(product: Product, stock: Stock) -> Product {    return Product {        name: product.name        stock: stock    }}

Markdown for agents: /docs/values-never-change.md.Built from Jadpo main at a707efb.