Pudu programming language
Menu
API reference

Std.Text.Source.fromText

1 declaration

fn

fromText: Str -> Std.Text.Source.Source

This is a callable function.

What it does

Encode UTF-8 explicitly before building the byte-coordinate index.

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.

Back to Std.Text.SourceSearch related declarations