-
-
Notifications
You must be signed in to change notification settings - Fork 0
Questions and Answers
Michael Gardner edited this page Dec 14, 2025
·
7 revisions
This section addresses common questions about the Functional library’s design decisions.
The library prioritizes:
-
SPARK Compatibility - Formal verification support for safety-critical systems
-
Value Semantics - Types behave as values, not objects
-
Zero Overhead - No runtime cost beyond what’s necessary
-
Embedded-Friendly - No heap allocation, bounded types only
| Question | Summary |
|---|---|
Explains why Option/Result use discriminated records instead of tagged types |
|
Explains why higher-order functions use generic formal subprograms |
If you have questions about the library design, please open an issue on the GitHub repository.