WikiWIKI Graph
Wiki
Reference handbooks — evergreen content updated continuously
Browse Documents
4 documentsConcepts
Documents
- Algebraic data types and state modelingTrace algebraic data types from NPL and Hope through Haskell to TypeScript, with sums, products, and a state-modeling example.Conceptspath:Concepts/Type Systems
- Option TypeA data type representing presence or absence so callers handle both cases explicitly.Conceptspath:Concepts/Type Systems
- PolymorphismPolymorphConceptsPolymorphpath:Concepts/Type Systems
- Result TypeA data type representing a success value or a failure reason, making failure explicit in the return value.Conceptspath:Concepts/Type Systems
Recently Updated
- Transfer learning and negative transferExplains how source data shifts target risk under a fixed learning algorithm and distinguishes parameter, feature, and instance transfer.
- Tokens and tokenizersDistinguishes characters, bytes, subwords, and integer token IDs, and explains BPE merge rules and subword tokenization pipelines.
- Pretraining, fine-tuning, and in-context learningDistinguishes gradient-based parameter updates in pretraining and fine-tuning from frozen-weight conditioning in in-context learning.
- Union-findMaintain a partition of disjoint sets using parent-pointer trees, union by size, and path compression in inverse-Ackermann amortized time.
- Dijkstra’s algorithmSettle the smallest tentative distance in a nonnegative-weight graph, relax outgoing edges, and understand priority-queue and negative-edge boundaries.
- Depth-first searchFollow one branch to completion before backtracking, preserve recursive discovery order with explicit stack frames, and apply the parenthesis theorem.
- Breadth-first searchExplore a graph layer by layer with a FIFO queue, preserve the two-level wavefront invariant, and compute minimum edge counts in unweighted graphs.
- Merge sortDivide an array into halves, merge sorted subranges in linear time, preserve stability on equal keys, and manage auxiliary buffer space.