type
40 stories and discussions about type, aggregated from every source we track.
Type an address, break everything. Any website becomes a destructible pixel-art level, solo or with friends.
Hoi hoi! 👋 I'm @nyaomaru, a frontend engineer just back from a short vacation on Texel, a small...
AttaLambda is a small language built on pure, untyped lambda calculus, with readable syntax, exact rational numbers, and runtime type checks.
A high-performance and high-level purely functional data-parallel array programming language that can execute on the GPU and CPU.
I had a bug that took me a while to track down. The problem was type punning. A pointer cast worked fine at -O0 and silently broke at -O2. The C vs C++ distinction here is genuinely treacherous, and most blog posts on…
Have you ever written a type that you appreciated so much you still think about it? Like eating a really good meal, where if you try hard enough, you can sti...
A post touring resources you can use to learn how to implement a type checker or type inference algorithm
<p>From the abstract:</p> <blockquote> <p>We consider the problem of reconciling a dependently typed functional language with imperative features such as mutable higher-order state, pointer aliasing, and non-termination. We propose Hoare Type Theory (HTT), which incorporates Hoare-style specifications into types, making it possible to statically track and enforce correct use of side effects. The main feature of HTT is the Hoare type {P}x:A{Q} specifying computations with precondition P and postcondition Q that return a result of type A. Hoare types can be nested, combined with other types, and abstracted, leading to a smooth integration with higher-order functions and type polymorphism. We further show that in the presence of type polymorphism, it becomes possible to interpret the Hoare types in the “small footprint” manner, as advocated by Separation Logic, whereby specifications tightly describe the state required by the computation. We establish that HTT is sound and compositional, in the sense that separate verifications of individual program components suffice to ensure the correctness of the composite program.</p> </blockquote> <p>Basically, they combine Hoare Triples with Dependent Types, which seems pretty interesting.</p>
Brian McKenna posted an interesting video and gist on implementing a type safe printf in Idris with dependent types. This led me down a nice little …
<p>From the Abstract:</p> <blockquote> <p>Localizing type errors is challenging in languages with global type inference, as the type checker must make assumptions about what the programmer intended to do. We introduce Nate, a data-driven approach to error localization based on supervised learning. Nate analyzes a large corpus of training data — pairs of ill-typed programs and their “fixed” versions — to automatically learn a model of where the error is most likely to be found. Given a new ill-typed program, Nate executes the model to generate a list of potential blame assignments ranked by likelihood. We evaluate Nate by comparing its precision to the state of the art on a set of over 5,000 ill-typed OCaml programs drawn from two instances of an introductory programming course. We show that when the top-ranked blame assignment is considered, Nate’s data-driven model is able to correctly predict the exact sub-expression that should be changed 72% of the time, 28 points higher than OCaml and 16 points higher than the state-of-the-art SHErrLoc tool. Furthermore, Nate’s accuracy surpasses 85% when we consider the top two locations and reaches 91% if we consider the top three.</p> </blockquote>
A topos can be specified by the geometric theory that it classifies. Though the sequents of a theory are described formally and syntactically, its interaction with the world of sets (through set-indexed disjunctions…
The Grafbase Blog: The API platform for mission-critical applications
TypeSafe's Jev answers a closed question with a fixed answer type plus a number saying how sure it is. We moved our four decisions over to it. What worked, what didn't, and one thing we didn't expect.
Jev is TypeSafe AI's decision model. Learn what state and typed questions mean, how its answers work, and where type safety ends.
When you charge your EV from any type of charger, there are inevitable losses, but they differ depending on the level of the charger used.
Web Inspector now has two great tools designed to make debugging JavaScript programs easier: the Code Coverage Profiler and the Type Profiler.
The more modern type of reformer goes gaily up to [a fence] and says, “I don’t see the use of this; let us clear it away.” To which the more intelligent type of reformer will do well to answer: “If…
A high-performance and high-level purely functional data-parallel array programming language that can execute on the GPU and CPU.
Jev is a chatbot that only speaks emoji. Type anything, get emoji back.
Have you ever written a type that you appreciated so much you still think about it? Like eating a really good meal, where if you try hard enough, you can sti...
A function's return type is supposed to indicate the kind of data that it produces. Rust's 'n [...]
Paste your own text, pick a question type, and see the exact request and raw typed answer Jev returns - no parsing, no prose to interpret.
Rubric-Based Zero-Shot Classification Benchmark: Jev vs Claude Haiku 4.5 vs OpenJev on rubric-conditioned classification, chained decision execution, and exam grading -- with full price tracking. -...
The list is an output, never an input. Type what you owe in plain words; newdo works out who, when, and how big, and shows you the five things that matter today, with a reason.
The sets-as-trees interpretation of set theory in a dependent type theory with an impredicative universe of propositions validates Zermelo set theory, and it validates Replacement if the type theory has a choice or…
Type anything. Jev reads it and lights up the countries it most likely points to.
The Uniform Type Identifier — UTI for short — is an interesting means to map files to the type of data they contain. macOS uses UTIs to work out what kinds of file an application can open to view o…
TypeScript Partial, Required, and DeepPartial in 2026: Which Utility Type Actually Fits Your...