EVOLUTION ERROR: Difference between revisions
Jump to navigation
Jump to search
(https://tenebrax.bandcamp.com/track/evolution-error is quite good actually) |
mNo edit summary |
||
Line 1: | Line 1: | ||
In [[APL+Win]], | In [[APL+Win]], '''EVOLUTION ERROR''' is an [[error message]] indicating a [[glyph]] or syntactic feature has been used that has no meaning at the current [[evolution level]]. It occurs at <syntaxhighlight lang=apl inline>)EvLevel 0</syntaxhighlight> for any feature that varies with evolution level, and at <syntaxhighlight lang=apl inline>)EvLevel 2</syntaxhighlight> for some syntax elements related to parentheses: [[bracket indexing]] or [[assignment]] to an unparenthesized [[strand]], and the use of parentheses to turn a [[hybrid]] function-operator into a pure function, such as <syntaxhighlight lang=apl inline>(/)</syntaxhighlight> for [[Replicate]]. EVOLUTION ERROR doesn't occur at <syntaxhighlight lang=apl inline>)EvLevel 1</syntaxhighlight>. | ||
{{APL features}}[[Category:Errors]] | {{APL features}}[[Category:Errors]] |
Latest revision as of 16:26, 20 February 2024
In APL+Win, EVOLUTION ERROR is an error message indicating a glyph or syntactic feature has been used that has no meaning at the current evolution level. It occurs at )EvLevel 0
for any feature that varies with evolution level, and at )EvLevel 2
for some syntax elements related to parentheses: bracket indexing or assignment to an unparenthesized strand, and the use of parentheses to turn a hybrid function-operator into a pure function, such as (/)
for Replicate. EVOLUTION ERROR doesn't occur at )EvLevel 1
.
APL features [edit] | |
---|---|
Built-ins | Primitives (functions, operators) ∙ Quad name |
Array model | Shape ∙ Rank ∙ Depth ∙ Bound ∙ Index (Indexing) ∙ Axis ∙ Ravel ∙ Ravel order ∙ Element ∙ Scalar ∙ Vector ∙ Matrix ∙ Simple scalar ∙ Simple array ∙ Nested array ∙ Cell ∙ Major cell ∙ Subarray ∙ Empty array ∙ Prototype |
Data types | Number (Boolean, Complex number) ∙ Character (String) ∙ Box ∙ Namespace ∙ Function array |
Concepts and paradigms | Conformability (Scalar extension, Leading axis agreement) ∙ Scalar function (Pervasion) ∙ Identity element ∙ Complex floor ∙ Array ordering (Total) ∙ Tacit programming (Function composition, Close composition) ∙ Glyph ∙ Leading axis theory ∙ Major cell search ∙ First-class function |
Errors | LIMIT ERROR ∙ RANK ERROR ∙ SYNTAX ERROR ∙ DOMAIN ERROR ∙ LENGTH ERROR ∙ INDEX ERROR ∙ VALUE ERROR ∙ EVOLUTION ERROR |