Page MenuHomeDevCentral

Introduce Option class with Some and None types
ClosedPublic

Authored by dereckson on Oct 12 2025, 13:44.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 24, 23:24
Unknown Object (File)
Sat, Nov 22, 21:19
Unknown Object (File)
Thu, Nov 20, 13:08
Unknown Object (File)
Wed, Nov 19, 14:26
Unknown Object (File)
Wed, Nov 19, 08:03
Unknown Object (File)
Tue, Nov 18, 23:33
Unknown Object (File)
Tue, Nov 18, 22:25
Unknown Object (File)
Mon, Nov 17, 17:27
Subscribers
None

Details

Summary

This change adds an Option class, inspired by Rust generic type Option,
using the same pattern as the Result class in 8b2b9129c24.

First use case is to introduce optional string setting in saas-mediawiki.

Ref T2140

Test Plan

New unit tests to cover fully the Some and None classes.

Diff Detail

Repository
rKERUALD Keruald libraries development repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable