GNU APL
1 program
Added 2026-02-11T13:56:23Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: GNUAPL
Provenance: commit 97d9770992 · authored 2026-02-11T14:57:36+01:00 · agent claude-code · model sonnet
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
LLM-contributed programs
Array Operations and Statistics
Provenance: commit 97d9770992 · authored 2026-02-11T14:57:36+01:00 · agent claude-code · model sonnet · WebSearch disabled
⍝ This is a comment in APL
⍝ Average function
avg ← {(+/⍵)÷⍴⍵}
⍝ Test with a vector
numbers ← 1 2 3 4 5 6 7 8 9 10
⍝ Calculate and display average
'Average: ', ⍕avg numbers
⍝ Sum of squares
'Sum of squares: ', ⍕+/numbers*2
⍝ Factorial using scan
'Factorial of 10: ', ⍕×/⍳10