Pudu programming language
Menu

Std.App.Locale.text

1 declaration

fn

text: &Std.App.Locale.Catalogue -> &Std.App.Locale.Locale -> Str -> Str

This is a callable function.

What it does

What a program says for a key, in the language it can.

Falls back through the language without its place to the one the messages

were written in. A key nothing says is answered as the key itself, which is

visible in a page rather than a blank — and `missing` is how it is found

before a reader finds it.

Read the signature

  • The text after the name is the type checked by Pudu.
  • Read arrows from left to right: inputs come first, and the final type is returned.
  • & borrows a value for this call instead of moving or copying it.

Back to Std.App.LocaleSearch related declarations