>
categories
async/await javascript docs

Mark a function async to have it return a promise; inside, await pauses until the awaited promise settles.

!A logic docs

Multiplicative resources become copyable when marked !A!A, letting you recover classical behaviour where needed.

Boolean variable logic docs

SAT instances are expressed over Boolean variables; each variable can appear positive or negated in clauses.

∃x.P(x) logic docs

Example: xR, x2=2\exists x \in \mathbb{R},\ x^2 = 2. In type theory this corresponds to dependent sums.

for await...of javascript docs

Use for await...of on objects implementing Symbol.asyncIterator, including many Node streams and custom async generators.

function* javascript docs

Generator function declaration syntax. The asterisk (*) indicates the function is a generator that can yield multiple values over time. When called, returns an iterator object. Combined with async, creates async generators for async iteration.

HashMap rust docs

HashMap stores unique keys mapped to values; ownership is transferred into the map, and lookups are O(1) on average. Construct with HashMap::new() or HashMap::from.

Iterator rust docs

Import via use std::iter::Iterator; and rely on adapters like map, filter, and collect for chaining.

A par B logic docs

ABA \mathbin{\parr} B expects a consumer ready for either side, and (AB)=AB(A \otimes B)^{\perp} = A^{\perp} \mathbin{\parr} B^{\perp}.

¬xj,t¬xj,t\lnot x_{j,t} \lor \lnot x_{j,t'} logic docs

In reductions to SAT, mutual exclusion is encoded by pairing negated literals to forbid simultaneous truth assignments.

Promise javascript docs

Promises model async results and support chaining via then() and catch(), or awaiting inside async functions.

A ⊗ B logic docs

ABA \otimes B consumes both resources together and is dual to \parr under linear negation.

∀x.P(x) logic docs

Example: xN, x0\forall x \in \mathbb{N},\ x \ge 0. In type theory this corresponds to dependent products.

Vec rust docs

Vectors own contiguous elements on the heap and support push/pop; you create them with Vec::new() or vec![] literal syntax.

?A logic docs

?A?A restores weakening and contraction dually to !A!A, signalling that the resource can be duplicated or discarded.

Code.string_to_quoted/2 elixir docs

Returns {:ok, ast} or {:error, reason}. Use the bang variant Code.string_to_quoted!/1 to raise on parse failure. Every node in the resulting AST is a {form, metadata, args} tuple; pass columns: true and token_metadata: true for full position information.

Macro.prewalk/3 elixir docs

Calls fun.(node, acc) on each node before visiting its children, returning {new_node, new_acc}. Use to collect information from or transform an AST without manually recursing. Macro.postwalk/3 visits children first; Macro.traverse/4 gives both pre- and post-visit hooks.