{"id":"operator--symbol-71b37b","name":"->","owner":"yeho","package":"language.operators","kind":"operator","signature":"->","description":"Declare the result type of a function.","context":"A focused reference with a complete example. Numeric widths and experimental types still depend on the selected backend.","parameters":[],"returns":"","members":[],"tags":["cpu","language","operator","structure","yeho"],"updated":"2026-09-09","source":{"repository":"demonhunterlabs","path":"app/lib/yeho-language-reference.ts"},"status":"documented","notes":[],"examples":[{"id":"complete","title":"Use ->","description":"Declare the result type of a function.","code":"Reward(int level) -> int { return level * 10 }\nConsole.Log(Text.From(Reward(3)))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.operator__symbol_71b37b\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n","tags":["cpu","language","operator"],"run":"cpu-oracle","verification":"type checked","sha256":"7dc39cff468c4574520af6b3614f68e1acf6dcff0e061e36675c6abbab94ac1d","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=operator--symbol-71b37b","json":"https://demonhunterlabs.com/reference/items/operator--symbol-71b37b.json","markdown":"https://demonhunterlabs.com/reference/text/operator--symbol-71b37b.md"}
