~/talk

APLicative Programming with Naperian Functors

Talkat Lambda World 2017 · 2017-10-26..10-27· [functional-programming]
slides:none on file

Shows that APL-style implicit lifting, alignment and static shape checks are expressible in Haskell’s type system rather than a custom language: rank polymorphism and shape errors get rejected at compile time. Uses length-indexed vectors, Fin indices, traversable/Naperian structure and type-class witnesses to induce lifts and transposes. Implements codegen into the Accelerate GPU backend (student prototype exists) so programs compile to GPU kernels and run, proving the approach practical.

AI-written summary · about

  1. 0:00Start
  2. 3:19Binary Operations
  3. 3:58Operations That Combine Elements
  4. 5:24Bizarre Notation
  5. 6:06Prefix Sums
  6. 7:40Add a Vector to a Matrix
  7. 10:16Syntax
  8. 14:21Length Index Vectors
  9. 14:49Vectors
  10. 20:08Index Data Types
  11. 24:40Type Classes
  12. 31:24Array Bounds Checking
  13. 35:10Block Structured Vectors
  14. 35:23Binary Split Vectors
  15. 35:54Transposition
  16. 38:52Hyper Cuboids
  17. 39:54Alignment
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.