language.operators · operator ·

->

Declare the result type of a function.

cpulanguageoperatorstructureyeho

A focused reference with a complete example. Numeric widths and experimental types still depend on the selected backend.

->

Status: documented

Use ->

Declare the result type of a function.

cpu · language · operator · type checked

Reward(int level) -> int { return level * 10 }
Console.Log(Text.From(Reward(3)))
project.mech
manifestVersion = "2"
package = "api.example.operator__symbol_71b37b"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"
Notes and source

demonhunterlabs/app/lib/yeho-language-reference.ts