Page MenuHomeDevCentral

Introduce Option class with Some and None types
ClosedPublic

Authored by dereckson on Sun, Oct 12, 13:44.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 23, 16:10
Unknown Object (File)
Thu, Oct 23, 13:10
Unknown Object (File)
Thu, Oct 23, 07:41
Unknown Object (File)
Tue, Oct 21, 00:25
Unknown Object (File)
Mon, Oct 20, 22:32
Unknown Object (File)
Sun, Oct 19, 13:02
Unknown Object (File)
Sat, Oct 18, 04:46
Unknown Object (File)
Sat, Oct 18, 04:40
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