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 8a62b0b
Browse filesBrowse the repository at this point in the historyBrowse files
fixup! docs: Stack and IStack in the changelog and the collection table
The `Changed` and `Removed` entries name only what the published 1.0.0 had or did, checked in the
1.0.0 assembly: its `Stack` module has `cons`, `empty`, `head`, `ofArray`, `ofSeq`, `peek`, `pop`,
`push`, `tail` and the complete active pattern `Cons | Nil`.
- `Removed` keeps `push`, `peek` and `pop`, with their replacements, and says that `pop` returned
a reference tuple. The `ImmutableStack` module alias goes: an abbreviation of a module cannot be
used from another assembly.
- `Changed` compares with 1.0.0. `ofSeq` and `ofArray` put the first element on top where they put
the last one. `cons`, `head` and `tail` take and return `ImmutableStack<'T>` where they took and
returned `IImmutableStack<'T>`, and compile to `Push`, `Peek` and `Pop`. `head` and `tail` of an
empty stack throw `ArgumentException` where they threw `InvalidOperationException`. A `null` stack
threw `ArgumentNullException` in 1.0.0 too, so that is no longer listed, and neither are `uncons`,
`ofList`, `toList`, `rev` and the transformations, which 1.0.0 did not have.
- `Added` no longer names the patterns `Cons` and `Nil`, which 1.0.0 had as one complete pattern,
nor `cons`, `head` and `tail` in the sentence about compiled names.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
0 commit comments