Learning resources: Difference between revisions
(direct link) |
|||
Line 106: | Line 106: | ||
* New primitive functions: <source lang=apl inline>⊢</source> [[Identity|Same]], [[Right_identity|Right]]; <source lang=apl inline>⊣</source> [[Identity|Same]], [[Left_identity|Left]]; <source lang=apl inline>⌷</source> [[Materialise]], [[Squad indexing|Index]]; <source lang=apl inline>≡</source> [[Depth]], [[Match]]; <source lang=apl inline>≢</source> [[Tally]], [[Not Match]]; <source lang=apl inline>≠</source> [[Nub Sieve]]; <source lang=apl inline>⍸</source> [[Where]], [[Interval Index]]; <source lang=apl inline>⊆</source> [[Nest]], [[Partition]] | * New primitive functions: <source lang=apl inline>⊢</source> [[Identity|Same]], [[Right_identity|Right]]; <source lang=apl inline>⊣</source> [[Identity|Same]], [[Left_identity|Left]]; <source lang=apl inline>⌷</source> [[Materialise]], [[Squad indexing|Index]]; <source lang=apl inline>≡</source> [[Depth]], [[Match]]; <source lang=apl inline>≢</source> [[Tally]], [[Not Match]]; <source lang=apl inline>≠</source> [[Nub Sieve]]; <source lang=apl inline>⍸</source> [[Where]], [[Interval Index]]; <source lang=apl inline>⊆</source> [[Nest]], [[Partition]] | ||
* New primitive operators: <source lang=apl inline>⍨</source> [[Commute]], [[Constant]]; <source lang=apl inline>@</source> [[At]]; <source lang=apl inline>∘</source> [[Bind]], [[Beside]]; <source lang=apl inline>⍤</source> [[Atop operator|Atop]], [[Rank]]; <source lang=apl inline>⍥</source> [[Over]]; <source lang=apl inline>⍤</source> [[Rank operator|Rank]]; <source lang=apl inline>⌸</source> [[Key]]; <source lang=apl inline>⌺</source> [[Stencil]]; <source lang=apl inline>⍠</source> [[Variant]]; <source lang=apl inline>&</source> [[Spawn]] | * New primitive operators: <source lang=apl inline>⍨</source> [[Commute]], [[Constant]]; <source lang=apl inline>@</source> [[At]]; <source lang=apl inline>∘</source> [[Bind]], [[Beside]]; <source lang=apl inline>⍤</source> [[Atop (operator)|Atop]], [[Rank]]; <source lang=apl inline>⍥</source> [[Over]]; <source lang=apl inline>⍤</source> [[Rank operator|Rank]]; <source lang=apl inline>⌸</source> [[Key]]; <source lang=apl inline>⌺</source> [[Stencil]]; <source lang=apl inline>⍠</source> [[Variant]]; <source lang=apl inline>&</source> [[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 08:41, 22 November 2021
|
To facilitate self-study, the resources here are classified by target audience. However, if you get stuck, don't hesitate to request help in the APL Orchard chat room 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:
- APL Wiki's simple examples
- The Learn tab on TryAPL
- The book Mastering Dyalog APL by Bernard Legrand
- The book APL2 at a Glance by Jim Brown, Sandra Pakin, and Ray Polivka (also in German)
- Learning APL with APLX (also as PDF)
- The Zark APL Tutor
- APL a Day: Introduction, Functions, Arrays, Values, Arrays have Shape
- A Practical Introduction to APL 1 & 2 (3 & 4 is for experts)
- Découvrez le langage APL: parts 1, 2, 3 by Eric Schrafstetter (in French)
- Learn APL with neural networks (video series)
- MENACE in APL (An early Reinforcement Learning project reimplemented in APL)
- The tutorial from the old APL Wiki
- APLtrainer tutorials (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.
- APL Wiki's advanced examples
- APL Wiki's Books
- APL Wiki's Papers
- APL Cultivation (chat lessons)
- TryAPL online interpreter with lessons
- APL Workshop (self-study course)
- Learn X in Y minutes
- Let's Learn A Programming Language
- The book Mastering Dyalog APL by Bernard Legrand
- The book Learning APL by Stefan Kruger
- The book APL2 at a Glance by Jim Brown, Sandra Pakin, Ray Polivka (also in German)* Zark tutorial
- Trying APL
- Learn APL with neural networks (video series)
- Artificial Neural Networks
- FizzBuzz
- APL deserves its renaissance too (interactive explanation of John Scholes' Conway's Game of Life)
- An Introduction to APL (video)
For novice APLers
- APL2 in Depth by Norman Thomson and Ray Polivka
- Learn APL with neural networks (video series)
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.)
- 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.
- Previous years' problems from the APL Problem Solving Competition. Phase I problems are available with automated testing.
- APL-eusis: A game for honing your ability to "think in APL".
- Advent of Code: A collection of small programming puzzles.
For advanced APLers
Here is a list of "how-to"s on various subjects:
- Learn APL with neural networks (video series)
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.
- General video: Dyalog APL for other APL users (assignment, control structures, namespaces, migration level, Bind, user-defined operators, dfns, error trapping, shyness, namelists, GCD, LCM, Power operator, and more)
- New primitive functions:
⊢
Same, Right;⊣
Same, Left;⌷
Materialise, Index;≡
Depth, Match;≢
Tally, Not Match;≠
Nub Sieve;⍸
Where, Interval Index;⊆
Nest, Partition
- New primitive operators:
⍨
Commute, Constant;@
At;∘
Bind, Beside;⍤
Atop, Rank;⍥
Over;⍤
Rank;⌸
Key;⌺
Stencil;⍠
Variant;&
Spawn
- Lambdas (dfns): Intro; Details; Operators; The dfns workspace (collection of categorized utilities with extensive comments and notes)
- Tacit programming: Dyalog APL documentation: Intro; Details; short video; long video; APL Cultivation lesson; Function composition
- Other features and concepts: Keywords; Object-oriented programming; namespaces; Total array ordering; Leading axis theory; Complex numbers
APL development [edit] | |
---|---|
Interface | Session ∙ Typing glyphs (on Linux) ∙ Fonts ∙ Text editors |
Publications | Introductions ∙ Learning resources ∙ Simple examples ∙ Advanced examples ∙ Mnemonics ∙ ISO 8485:1989 ∙ ISO/IEC 13751:2001 ∙ A Dictionary of APL ∙ Case studies ∙ Documentation suites ∙ Books ∙ Papers ∙ Videos ∙ APL Quote Quad ∙ Vector journal ∙ Terminology (Chinese, German) ∙ Neural networks ∙ Error trapping with Dyalog APL (in forms) |
Sharing code | Backwards compatibility ∙ APLcart ∙ APLTree ∙ APL-Cation ∙ Dfns workspace ∙ Tatin ∙ Cider |
Implementation | Resources ∙ Open-source ∙ Magic function ∙ Performance ∙ APL hardware |
Developers | Timeline of corporations ∙ APL2000 ∙ Dyalog ∙ IBM ∙ IPSA ∙ STSC |