Pudu programming language
Menu
API reference

Std.Html.Compose.document

1 declaration

fn

document: Str -> Std.Html.Compose.Content -> Std.Html.Html

This is a callable function.

What it does

A whole page with the given title and body.

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.Html.ComposeSearch related declarations