---
title: "Rule 9.6: Built-in functions and the TypeShade extensions"
description: "Rule 9.6 of the TypeShade language design, in Built-in functions and the TypeShade extensions."
url: https://typeshade.dev/reference/rules/9-6/
language: en
---

# Rule 9.6

Chapter 9, Built-in functions and the TypeShade extensions Test

The author-facing names of source (c) must be exactly the rows below; the table is shrink-only, and a name may join it only by [Rule 13.6](https://typeshade.dev/reference/rules/13-6/).

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

## Rationale

an extension is a decision that was reviewed, not a place to put a name that failed the source check.

## Derives from

PR [#166](https://github.com/typeshade/typeshade/issues/166)’s body, section “A design rule this lane settled”; the allowlist `TYPESHADE_EXTENSIONS`.

## How it is verified

Checked by a test. A test, a gate script or a CI workflow names this rule, and the traceability check fails when a file listed below stops naming it.

Where the rule says the compiler enforces it:

`surface-names.test.ts` (`the TypeShade allowlist shrinks`), which fails on a row the library no longer declares and on a row WGSL or ECMAScript now covers.

The files that verify it at commit af54ddad5, each at the first line that names the rule:

- [`src/core/spec-conformance/surface-names.test.ts:522`](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/spec-conformance/surface-names.test.ts#L522)

## See also

- [Rule 9.5](https://typeshade.dev/reference/rules/9-5/) Test
- [Rule 9.7](https://typeshade.dev/reference/rules/9-7/) Test
- [Rule 13.6](https://typeshade.dev/reference/rules/13-6/)
- [Design rules](https://typeshade.dev/reference/rules/)
- [Error codes](https://typeshade.dev/reference/errors/)

## Source

The rule at commit af54ddad5:

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