Document (std os), numeric/si and Ctrl-C and SIGTERM
A module page and a standard library entry for (std os), numeric/si and a section on signals in writing programs, and the span conversions in the language basics.
This commit is contained in:
parent
1a2a43bf5a
commit
f07cd79e3e
4 changed files with 96 additions and 5 deletions
|
|
@ -1342,7 +1342,7 @@ To work on part of an array without copying it, make a span: @code{(Span %a)} is
|
|||
(span->array s) ;; #[99 3], a fresh copy
|
||||
}|
|
||||
|
||||
A span is valid only while the call that made it runs, so it can be a local variable, a function argument or a return value, and the compiler refuses it anywhere it could outlive the call (such as inside another collection or across a yield point). The section on .NET interop in Part 2 covers the full rules and how spans work with .NET methods.
|
||||
A span is valid only while the call that made it runs, so it can be a local variable, a function argument or a return value, and the compiler refuses it anywhere it could outlive the call (such as inside another collection or across a yield point). The section on .NET interop in Part 2 covers the full rules and how spans work with .NET methods. It also covers @code{span->} and @code{ro-span->}, which show a span of numbers as numbers of another type (longs as bytes, for example) without copying.
|
||||
|
||||
@subsubsection{Maps}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue