---
title: "Rule 1.6: Introduction, a TypeShade design rule"
description: "Rule 1.6 of the TypeShade language design, in Introduction. TypeShade code is compute code: it computes results from data, may run in parallel…"
url: https://typeshade.dev/reference/rules/1-6/
language: en
---

# Rule 1.6

Chapter 1, Introduction Review

TypeShade code is compute code: it computes results from data, may run in parallel, and gives the same answer on every target. Code that reaches the world outside the computation (input and output, the network, the DOM, timers, the clock, unseeded randomness, `eval`, a dynamic `import`) is host code, written in TypeScript as today. A form TypeScript authors commonly write in compute code, a form of the language or a member of its standard library, must be supported by the compiler. A TypeShade name or a library function is not a substitute for it; a library holds what TypeScript has no standard form for. A refusal is the last resort, and names the reason the compiler cannot represent the form on that target ([Rule 1.5](https://typeshade.dev/reference/rules/1-5/)).

The rule text and the parts under it are the compiler's own English, as the design document writes them.

## Rationale

a TypeShade author is a TypeScript developer. A form they reach for first and find refused costs them a detour, and the detour is code: TypeCV’s audit of 2026-10-27 counts 188 lines of hand-made hash tables, 122 of sorting and 77 of bounded lists that a `Map`, `sort` and `push` would hold. The §9.3 table ([Rule 9.6](https://typeshade.dev/reference/rules/9-6/)) is already shrink-only; a row whose TypeScript form the compiler comes to support is deleted by [Rule 13.7](https://typeshade.dev/reference/rules/13-7/). The boundary is the present stage’s, not a permanent one, and a refusal of host code names the host as the place to write it.

## Derives from

`changes/0100-typescript-meaning.md` (section 2, decision D11).

## How it is verified

Held by review. No file checks it, and the rule names review as what holds it.

Where the rule says the compiler enforces it:

review; Appendix B, under [Rule 1.1](https://typeshade.dev/reference/rules/1-1/), for the units of `docs/typeshade-plan.md` that add the forms still refused.

## See also

- [Rule 1.5](https://typeshade.dev/reference/rules/1-5/) Review
- [Rule 1.7](https://typeshade.dev/reference/rules/1-7/) Test
- [Rule 1.1](https://typeshade.dev/reference/rules/1-1/)
- [Rule 9.6](https://typeshade.dev/reference/rules/9-6/)
- [Rule 13.7](https://typeshade.dev/reference/rules/13-7/)
- [Design rules](https://typeshade.dev/reference/rules/)
- [Error codes](https://typeshade.dev/reference/errors/)

## Source

The rule at commit af54ddad5:

- [`docs/language-design.md:90`](https://github.com/typeshade/typeshade/blob/af54ddad5/docs/language-design.md#L90) (the design document)
- [`reqs/rules/RULE-0106.md`](https://github.com/typeshade/typeshade/blob/af54ddad5/reqs/rules/RULE-0106.md) (its traceability item)
