Page MenuHomeDevCentral

Introduce Option class with Some and None types
ClosedPublic

Authored by dereckson on Oct 12 2025, 13:44.
Tags
None
Referenced Files
F43068688: D3741.id9675.diff
Mon, Aug 10, 19:54
Unknown Object (File)
Sun, Aug 9, 15:41
Unknown Object (File)
Mon, Jul 27, 01:15
Unknown Object (File)
Sun, Jul 26, 19:39
Unknown Object (File)
Sat, Jul 25, 20:33
Unknown Object (File)
Fri, Jul 24, 21:28
Unknown Object (File)
Fri, Jul 24, 21:23
Unknown Object (File)
Sat, Jul 18, 07:41
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