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)
Thu, Mar 12, 19:05
Unknown Object (File)
Sun, Mar 8, 12:28
Unknown Object (File)
Fri, Mar 6, 01:00
Unknown Object (File)
Thu, Mar 5, 06:45
Unknown Object (File)
Mon, Mar 2, 10:23
Unknown Object (File)
Thu, Feb 26, 12:57
Unknown Object (File)
Thu, Feb 26, 05:55
Unknown Object (File)
Thu, Feb 26, 05:12
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