EVOLUTION ERROR: Difference between revisions

From APL Wiki
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]], an '''EVOLUTION ERROR''' indicates 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>.
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 ShapeRankDepthBoundIndex (Indexing) ∙ AxisRavelRavel orderElementScalarVectorMatrixSimple scalarSimple arrayNested arrayCellMajor cellSubarrayEmpty arrayPrototype
Data types Number (Boolean, Complex number) ∙ Character (String) ∙ BoxNamespaceFunction array
Concepts and paradigms Conformability (Scalar extension, Leading axis agreement) ∙ Scalar function (Pervasion) ∙ Identity elementComplex floorArray ordering (Total) ∙ Tacit programming (Function composition, Close composition) ∙ GlyphLeading axis theoryMajor cell search
Errors LIMIT ERRORRANK ERRORSYNTAX ERRORDOMAIN ERRORLENGTH ERRORINDEX ERRORVALUE ERROREVOLUTION ERROR