condtional multi-unwrap and guard clauses
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@
|
||||
- information-preserving and information-forgetting pointer-to-array decay and sentinel slice/pointer weakening; array values never implicitly decay
|
||||
- narrow immutable zero-terminated byte pointer conversion to `*c_char` and `[*;0]c_char`, without general `u8`/`c_char` interchange
|
||||
- optionals with trapping postfix `?`, `orelse`, and nullable pointer representation
|
||||
- conditional optional unwrapping with immutable then-block bindings: `if value |binding| { ... }`
|
||||
- conditional optional unwrapping with immutable guard/then-block bindings, guarded captures, and left-to-right short-circuiting multi-unwrap: `if first and second |a, b : guard| { ... }`
|
||||
- source-order native structs, defined or opaque `c_struct`, and keyed record literals
|
||||
- complete plain imported C structs and unions as runtime values; incomplete or unsupported-layout records remain pointer-only
|
||||
- C function pointer types as pointer-sized runtime values, including manual `*c_func(...) T` spelling and nullable imported callback typedefs
|
||||
|
||||
Reference in New Issue
Block a user