Std.Uuid.fromText
1 declaration
fn
fromText: Str -> Result[Std.Uuid.Uuid, Std.Uuid.UuidError]This is a callable function.
What it does
The identifier text names, hyphenated or not.
The hyphens are dropped before the digits are read rather than checked in
place, so the form a program stored without them parses too. Their
positions carry no information the digits do not.
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.
- Names inside [ ] are type arguments, such as the item type held by a collection.
- Result makes success and recoverable failure part of the function's type.
