Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S stdpp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 81
    • Issues 81
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 10
    • Merge requests 10
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Iris
  • stdpp
  • Merge requests
  • !439

add basic list functionality with Z-based indexing

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Ralf Jung requested to merge ralf/listZ into master Jan 09, 2023
  • Overview 10
  • Commits 12
  • Pipelines 15
  • Changes 5

This starts the work on #108 by implementing insert and index for Z as well as lengthZ, takeZ, dropZ, and porting much of the associated theory.

I have not ported everything, e.g. the interactions with Forall3, subseteq, submseteq, filter, mask are missing. Also there are more operations that would need a Z-based version, such as lookup_total, alter, delete, inserts, find, imap, imap2, resize, rotate, rotate_take, sublist_lookup, sublist_alter. There are also some tactics that will not handle these new operations and so might need adjustments or Z-based tactics: solve_length, simplify_list_eq.

Still I think this is a useful start that can serve as a foundation for later extensions. :)

Blocked on !441 (merged).

Edited Jan 10, 2023 by Ralf Jung
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: ralf/listZ