You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e4a3df1
Browse filesBrowse the repository at this point in the historyBrowse files
The Terminal keeps every cell's value in run, and back n counts from the end (#1427)
#601: history beyond the last value. F# Interactive binds `it` to the value of the last
expression cell and nothing further back, and the Terminal's readme did not mention even
that. Now the pre-run code declares `run`, a list of every value a cell has produced, oldest
first, and `back n` for the n-th from the end; after every cell that displayed a value the
library submits `run.Add (box it)` to the kernel, which fails harmlessly before `run` exists,
during the warm-up cell. A cell with no value adds nothing; a question about the history is a
cell with a value and is remembered too. Declared before the arithmetic operators are opened,
since under them `run.Count - n` would build an expression rather than an index.
Closes#601.
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
0 commit comments