~/talk

Introduction to D-Functions (Part 1)

Talkat APL 2010 LPA Berlin · 2010-09-13..09-16
links:none on file
slides:none on file

Dfns are APL inline functions written in braces using alpha/omega for left/right arguments, local names for subexpressions, and guards with colon to return different cases. Recursion replaces loops (gcd and sum examples), with a special recursive-call token and visible tail-call optimization that makes tail-recursive versions ~39% faster in the demo. The workshop uses the supplied defenses.dws workspace, the tracer and cmpx timing tool, and shows defaults for omitted left arguments.

AI-written summary · about

  1. 0:00Introduction to D-Functions
  2. 1:47Motivation and history
  3. 5:21Basic D-Function syntax
  4. 15:05Guards in D-Functions
  5. 22:19Procedural vs functional style
  6. 27:11Recursion in D-Functions
  7. 34:29Local names in D-Functions
  8. 41:45Tail calls optimization
  9. 48:04Optional left arguments
  10. 55:10Nested D-Functions
  11. 56:13Operators in D-Functions
  12. 1:00:41Recursive operators
  13. 1:06:25Error guards and shy results
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.