Skip to content

Conversation

luc-blaeser
Copy link
Contributor

@luc-blaeser luc-blaeser commented Sep 8, 2025

Based on dfinity/motoko#5451

  • Persistent classes for List, Map, Set, and Stack.
  • Fully backwards compatible.
  • Persistent compare functions for primitive types.

TODO:

  • Unit tests
  • Documentation
  • CI needs to use new compiler with persistent functions/classes

@luc-blaeser luc-blaeser requested a review from a team as a code owner September 8, 2025 13:26
Copy link

github-actions bot commented Sep 8, 2025

✨ Documentation preview for 59310bf:

https://dfinity.github.io/motoko-core/pull/390 (source code)

Copy link
Collaborator

@rvanasa rvanasa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for preparing this PR!

What do you think of using a more concise import pattern, e.g. mo:core/class/List or mo:core/oo/List in place of mo:core/object-oriented/List?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants