stdlib_test.nx
buildroot/runtime/stdlib_test.nx
about
stdlib_test.nx -- exercise Option + Result via import.
Proves that `import "stdlib.nx"` exposes the prelude enums to the
importer with full constructor + match-binding semantics.
dependencies 5 imports · 0 importers
imports: syscalls.nxtypes.nxlex_kinds.nxir.nxstdlib.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 14 | func unwrap_or_zero(o: *Option) -> i64 {
called by 1: main |
| 23 | func check(r: *Result) -> i64 {
called by 1: main |
| 31 | func main() -> i64 { |