Opens the page on a host's lambda (CubeEditor's initialLambda): read into a cube, opened as the first one, with no undo step; a lambda that can't be read leaves the cube empty and says why. Once the cube's expressions are checked, whether Cube writes it back the same way.

Constructors

Properties

checked: undefined | { reading: CubeLambdaReading; text: string }

The dialog's text as last checked, once typing paused (user, 2026-10-16), and Cube's reading of it, which Import takes

dialogError: undefined | CubeLambdaImportError
editorState: CubeEditorState
error: undefined | CubeLambdaImportError
fidelity: undefined | CubeLambdaFidelity

Whether Cube writes the cube back as the lambda; none until checked

isChecking: boolean = false
isDialogOpen: boolean = false

Import Pure, from the Cube menu: the dialog, its text, why its last check or import failed

isImporting: boolean = false
isReading: boolean = false
label: undefined | string

What the page calls the lambda it opened on

notes: readonly string[] = []
text: string = ''

Accessors

Methods

  • Import Pure (PLAN §11.18): the dialog's text, Pure or the engine's JSON of a lambda, read into a cube that replaces this one, as one undo step; then, once checked, whether Cube writes it back the same. A lambda that can't be read leaves the cube as it was, and says why in the dialog.

    Returns GeneratorFn<void>