tobogganSe connecter

louise

Clone avec HTTPS, un jeton personnel en mot de passe, ou avec SSH, une clé ajoutée dans vos paramètres.

Std: complete std/result and std/option; Ord and Hash for Result (issue #87)

std/result gains is_ok, is_error, map_error, replace_error, flatten,
unwrap_or_else, expect, to_option, all and values; std/option gains
is_none, then, to_result and values. The prelude adds Ord and Hash for
Result, as Option has. Tests cover every function on both backends,
results in use chains, nested matches and messages between actors, and
the exhaustiveness diagnostics for a missing Ok or Error arm.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

olivier · il y a 1 mois · c29bb14b4a86a8eac85b5c3006f161a8c8286feb

Parents 41e617d

6 fichiers modifiés, 352 ajouts, 3 suppressions