Drop
Generated from the engine's own definition: compute-engine's symbol, which we neither extend nor document by hand.
Return the collection without the first n elements.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
Drop!Drop((xs: T, count: number) -> T where T: string) & ((xs: indexed_collection<T>, count: number) -> list<T> where T)as compute-engine declares itTyped signatures
| Type | Package | Applies |
|---|---|---|
((xs: T, count: number) -> T where T: string) & ((xs: indexed_collection<T>, count: number) -> list<T> where T: any) | compute-engine | always |
Examples
3 more kept as data, checked against the oraclesAbout
| Examples | 9 |
|---|---|
| Checked against | Wolfram Language 7 agree2 differmathlib4 4 agree |
| Crosswalk | Wolfram Language |
Implementation
mapped
mathlib4packages/oracle/src/mappings.tsThe list without its first n elements, or its last n when negative; a count past the length clamps to the empty list, as ours does. A non-integer count fails to elaborate.