Skip to content

Concept exercises #4

@rikedyp

Description

@rikedyp

This issue is to gather suggestions for concept exercises to form a basic syllabus. The list here will be updated to form the canonical list, but individual concept exercises will have their own issues to track progress.

  • arithmetic
  • primitive reduction over vectors
  • primitive reduction over general arrays (requires: shape, reshape)
  • reduction with user-defined functions
  • dfns (monadic / dyadic / ambivalent / guards)
  • errors (error guards, :Trap, ⎕TRAP maybe)
  • compress (filter using replicate with Boolean mask)
  • selection
    • square bracket index (requires or introduces matrices?)
    • squad
    • pick
  • each (AKA map)
  • stranding of numbers (e.g. 2 2+2 2+2)
  • parsing simple expressions (long right scope, short left scope)
  • use of parentheses in expressions
  • assignment (single name and pass-through e..g (var←3 and var×6+var←12)
  • reshape
  • stencil (requires: operators?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions