Learning resources: Difference between revisions

From APL Wiki
Jump to navigation Jump to search
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
Line 112: Line 112:
* General video: [https://www.youtube.com/watch?v=XN1l1WiYc_o Dyalog APL for other APL users] ([[assignment]], [[control structure]]s, [[namespace]]s, [[migration level]], [[Bind]], [[user-defined operator]]s, [[dfn]]s, [[Error trapping with Dyalog APL|error trapping]], [[shyness]], [[namelist]]s, [[GCD]], [[LCM]], [[Power (operator)|Power operator]], and more)
* General video: [https://www.youtube.com/watch?v=XN1l1WiYc_o Dyalog APL for other APL users] ([[assignment]], [[control structure]]s, [[namespace]]s, [[migration level]], [[Bind]], [[user-defined operator]]s, [[dfn]]s, [[Error trapping with Dyalog APL|error trapping]], [[shyness]], [[namelist]]s, [[GCD]], [[LCM]], [[Power (operator)|Power operator]], and more)


* New primitive functions: <syntaxhighlight lang=apl inline>⊢</source> [[Identity|Same]], [[Right_identity|Right]]; <syntaxhighlight lang=apl inline>⊣</source> [[Identity|Same]], [[Left_identity|Left]]; <syntaxhighlight lang=apl inline>⌷</source> [[Materialise]], [[Squad indexing|Index]]; <syntaxhighlight lang=apl inline>≡</source> [[Depth]], [[Match]]; <syntaxhighlight lang=apl inline>≢</source> [[Tally]], [[Not Match]]; <syntaxhighlight lang=apl inline>≠</source> [[Nub Sieve]]; <syntaxhighlight lang=apl inline>⍸</source> [[Where]], [[Interval Index]]; <syntaxhighlight lang=apl inline>⊆</source> [[Nest]], [[Partition]]
* New primitive functions: <syntaxhighlight lang=apl inline>⊢</syntaxhighlight> [[Identity|Same]], [[Right_identity|Right]]; <syntaxhighlight lang=apl inline>⊣</syntaxhighlight> [[Identity|Same]], [[Left_identity|Left]]; <syntaxhighlight lang=apl inline>⌷</syntaxhighlight> [[Materialise]], [[Squad indexing|Index]]; <syntaxhighlight lang=apl inline>≡</syntaxhighlight> [[Depth]], [[Match]]; <syntaxhighlight lang=apl inline>≢</syntaxhighlight> [[Tally]], [[Not Match]]; <syntaxhighlight lang=apl inline>≠</syntaxhighlight> [[Nub Sieve]]; <syntaxhighlight lang=apl inline>⍸</syntaxhighlight> [[Where]], [[Interval Index]]; <syntaxhighlight lang=apl inline>⊆</syntaxhighlight> [[Nest]], [[Partition]]


* New primitive operators: <syntaxhighlight lang=apl inline>⍨</source> [[Commute]], [[Constant]]; <syntaxhighlight lang=apl inline>@</source> [[At]]; <syntaxhighlight lang=apl inline>∘</source> [[Bind]], [[Beside]]; <syntaxhighlight lang=apl inline>⍤</source> [[Atop (operator)|Atop]], [[Rank]];  <syntaxhighlight lang=apl inline>⍥</source> [[Over]];  <syntaxhighlight lang=apl inline>⍤</source> [[Rank operator|Rank]]; <syntaxhighlight lang=apl inline>⌸</source> [[Key]]; <syntaxhighlight lang=apl inline>⌺</source> [[Stencil]]; <syntaxhighlight lang=apl inline>⍠</source> [[Variant]]; <syntaxhighlight lang=apl inline>&</source> [[Spawn]]
* New primitive operators: <syntaxhighlight lang=apl inline>⍨</syntaxhighlight> [[Commute]], [[Constant]]; <syntaxhighlight lang=apl inline>@</syntaxhighlight> [[At]]; <syntaxhighlight lang=apl inline>∘</syntaxhighlight> [[Bind]], [[Beside]]; <syntaxhighlight lang=apl inline>⍤</syntaxhighlight> [[Atop (operator)|Atop]], [[Rank]];  <syntaxhighlight lang=apl inline>⍥</syntaxhighlight> [[Over]];  <syntaxhighlight lang=apl inline>⍤</syntaxhighlight> [[Rank operator|Rank]]; <syntaxhighlight lang=apl inline>⌸</syntaxhighlight> [[Key]]; <syntaxhighlight lang=apl inline>⌺</syntaxhighlight> [[Stencil]]; <syntaxhighlight lang=apl inline>⍠</syntaxhighlight> [[Variant]]; <syntaxhighlight lang=apl inline>&</syntaxhighlight> [[Spawn]]


* Lambdas ([[dfn]]s): [https://help.dyalog.com/16.0/Content/Language/Defined%20Functions%20and%20Operators/DynamicFunctions/Dynamic%20Functions%20and%20Operators.htm Intro]; [https://help.dyalog.com/latest/Content/Language/Defined%20Functions%20and%20Operators/DynamicFunctions/MultiLine%20Dynamic%20Functions.htm Details]; [https://help.dyalog.com/latest/Content/Language/Defined%20Functions%20and%20Operators/DynamicFunctions/Dynamic%20Operators.htm Operators]; [https://dfns.dyalog.com/n_contents.htm The dfns workspace] (collection of categorized utilities with extensive comments and notes)
* Lambdas ([[dfn]]s): [https://help.dyalog.com/16.0/Content/Language/Defined%20Functions%20and%20Operators/DynamicFunctions/Dynamic%20Functions%20and%20Operators.htm Intro]; [https://help.dyalog.com/latest/Content/Language/Defined%20Functions%20and%20Operators/DynamicFunctions/MultiLine%20Dynamic%20Functions.htm Details]; [https://help.dyalog.com/latest/Content/Language/Defined%20Functions%20and%20Operators/DynamicFunctions/Dynamic%20Operators.htm Operators]; [https://dfns.dyalog.com/n_contents.htm The dfns workspace] (collection of categorized utilities with extensive comments and notes)

Revision as of 21:14, 10 September 2022

"I have long been struck by the contrast between the success with which the adventurous learn APL by simply using it, and the frequent failure of lecture courses to communicate the simplicity and applicability of the language."

Ken Iverson. A Working Introduction to APL, 1981.

To facilitate self-study, the resources here are classified by target audience. However, if you get stuck, don't hesitate to request help in a chat room (APL Farm or APL Orchard) or ask a question on Stack Exchange.

It may be beneficial to learn the APL terminology.

For non-programmers

Some of the best resources for somebody new to APL and programming in general are:

In text form

Video series

Follow one or a couple of these tutorials through and play around a bit. To learn APL the advice is similar to that for learning other languages: have a goal (something you want to accomplish) and try to do it. Along the way you are sure to come across the pitfalls and gotchas of the language, and with time you may come to understand what APL thinking means.

For programmers unfamiliar with APL

This is a list of tutorials and other resources of interest to someone who knows about programming or is familiar with another programming language, but wants to learn more about APL.

For novice APLers

If you already have a fair grasp of APL's primitive functions and operators, you can sharpen your skills by challenging yourself with these:

  • APLcart Quiz: Be challenged to write a function for a given task or to explain what a given function does. (Based on APLcart data.)
  • APL Crosswords: 1 4 5 — Fill in expressions and snippets to fulfil all the clues.
  • 2016 Year Game: Find APL expressions involving exactly the digits 2 0 1 6 in that order to equal the numbers 0 to 100.
  • 2017 Code Golf Challenge: Find the shortest possible APL expression that evaluates 1…52 without using any number or character literals.
  • APL-eusis: A game for honing your ability to "think in APL".
  • Triplets pythagoriciens by OsKaR: A mathematical problem used as an introduction to the expressive power of APL (video series in French).

For advanced APLers

Here is a list of "how-to"s on various subjects:

Haven't used APL in a while?

Those who learned APL "in the early days" should note that several implementations have made significant extensions to the language and system in the last decade or two.


APL development [edit]
Interface SessionTyping glyphs (on Linux) ∙ FontsText editors
Publications IntroductionsLearning resourcesSimple examplesAdvanced examplesMnemonicsISO 8485:1989ISO/IEC 13751:2001A Dictionary of APLCase studiesDocumentation suitesBooksPapersVideosAPL Quote QuadVector journalTerminology (Chinese, German) ∙ Neural networksError trapping with Dyalog APL (in forms)
Sharing code Backwards compatibilityAPLcartAPLTreeAPL-CationDfns workspaceTatinCider
Implementation ResourcesOpen-sourceMagic functionPerformanceAPL hardware
Developers Timeline of corporationsAPL2000DyalogIBMIPSASTSC